Automattic\WooCommerce\Internal\ProductFeed\Storage

JsonFileFeed::start │ public │ WC 1.0

{@inheritDoc}

Simple one-shot entry point for non-resumable generation. This is a thin adapter over the resumable {@see open()}: it starts a fresh feed and discards the returned identifier. It exists to honor the base FeedInterface{} contract; chunked callers use {@see open()} directly.

Method of the class: JsonFileFeed{}

No Hooks.

Returns

void. Nothing (null).

Usage

$JsonFileFeed = new JsonFileFeed();
$JsonFileFeed->start(): void;

JsonFileFeed::start() code WC 11.1.2

public function start(): void {
	$this->open();
}