Automattic\WooCommerce\Internal\CLI\Migrator\Platforms\Shopify
ShopifyFetcher::__construct
Constructor.
Method of the class: ShopifyFetcher{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ShopifyFetcher = new ShopifyFetcher(); $ShopifyFetcher->__construct( $credentials );
- $credentials(array) (required)
- Platform credentials array.
ShopifyFetcher::__construct() ShopifyFetcher:: construct code WC 10.7.0
public function __construct( array $credentials ) {
$this->credentials = $credentials;
$this->shopify_client = new ShopifyClient( $credentials );
}