Automattic\WooCommerce\Internal\CLI\Migrator\Platforms\Shopify

ShopifyFetcher::__construct │ public │ WC 1.0

Constructor.

Метод класса: ShopifyFetcher{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ShopifyFetcher = new ShopifyFetcher();
$ShopifyFetcher->__construct( $credentials );
$credentials(массив) (обязательный)
Platform credentials array.

Код ShopifyFetcher::__construct() WC 11.3.0

public function __construct( array $credentials ) {
	$this->credentials    = $credentials;
	$this->shopify_client = new ShopifyClient( $credentials );
}