Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

POSIntegration::create_feed │ public │ WC 1.0

{@inheritdoc}

POS catalog feeds are generated in chunks across multiple processes, so this returns a feed that supports the resumable lifecycle. Narrowing the return type (a covariant override of the base FeedInterface{} contract) guarantees that at the language level for callers such as AsyncGenerator{}, instead of relying on a PHPDoc hint or a runtime check.

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

Хуков нет.

Возвращает

ResumableFeedInterface.

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

$POSIntegration = new POSIntegration();
$POSIntegration->create_feed(): ResumableFeedInterface;

Код POSIntegration::create_feed() WC 11.2.2

public function create_feed(): ResumableFeedInterface {
	return new JsonFileFeed( 'pos-catalog-feed' );
}