Merge pull request #10006 from frozzare/docs/class-woocommerce

Improve docblock comments in WooCommerce class
This commit is contained in:
Claudio Sanches 2016-01-06 15:00:52 -02:00
commit d0b82772e0
1 changed files with 30 additions and 10 deletions

View File

@ -26,58 +26,78 @@ if ( ! class_exists( 'WooCommerce' ) ) :
* Main WooCommerce Class.
*
* @class WooCommerce
* @version 2.4.0
* @version 2.5.0
*/
final class WooCommerce {
/**
* WooCommerce version.
*
* @var string
*/
public $version = '2.5.0';
/**
* @var WooCommerce The single instance of the class.
* The single instance of the class.
*
* @var WooCommerce
* @since 2.1
*/
protected static $_instance = null;
/**
* @var WC_Session session
* Session instance.
*
* @var WC_Session
*/
public $session = null;
/**
* @var WC_Query $query
* Query instance.
*
* @var WC_Query
*/
public $query = null;
/**
* @var WC_Product_Factory $product_factory
* Product factory instance.
*
* @var WC_Product_Factory
*/
public $product_factory = null;
/**
* @var WC_Countries $countries
* Countries instance.
*
* @var WC_Countries
*/
public $countries = null;
/**
* @var WC_Integrations $integrations
* Integrations instance.
*
* @var WC_Integrations
*/
public $integrations = null;
/**
* @var WC_Cart $cart
* Cart instance.
*
* @var WC_Cart
*/
public $cart = null;
/**
* @var WC_Customer $customer
* Customer instance.
*
* @var WC_Customer
*/
public $customer = null;
/**
* @var WC_Order_Factory $order_factory
* Order factory instance.
*
* @var WC_Order_Factory
*/
public $order_factory = null;