Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

AsyncGenerator::initpublicWC 1.0

Dependency injector.

Method of the class: AsyncGenerator{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AsyncGenerator = new AsyncGenerator();
$AsyncGenerator->init( $integration ): void;
$integration(POSIntegration) (required)
The integration instance.

AsyncGenerator::init() code WC 10.8.1

final public function init( POSIntegration $integration ): void {
	$this->integration = $integration;
}