Vars declaration in WooCommerce class (this->session, this->query, etc.)
This commit is contained in:
parent
5da34d5a92
commit
3dd2f7816c
|
@ -40,6 +40,41 @@ final class WooCommerce {
|
|||
*/
|
||||
protected static $_instance = null;
|
||||
|
||||
/**
|
||||
* @var WC_Session session
|
||||
*/
|
||||
public $session = null;
|
||||
|
||||
/**
|
||||
* @var WC_Query $query
|
||||
*/
|
||||
public $query = null;
|
||||
|
||||
/**
|
||||
* @var WC_Product_Factory $product_factory
|
||||
*/
|
||||
public $product_factory = null;
|
||||
|
||||
/**
|
||||
* @var WC_Countries $countries
|
||||
*/
|
||||
public $countries = null;
|
||||
|
||||
/**
|
||||
* @var WC_Integrations $integrations
|
||||
*/
|
||||
public $integrations = null;
|
||||
|
||||
/**
|
||||
* @var WC_Cart $cart
|
||||
*/
|
||||
public $cart = null;
|
||||
|
||||
/**
|
||||
* @var WC_Customer $customer
|
||||
*/
|
||||
public $customer = null;
|
||||
|
||||
/**
|
||||
* Main WooCommerce Instance
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue