Automattic\WooCommerce\Internal\CLI\Migrator\Platforms\Webflow

WebflowFetcher::empty_batchprivateWC 1.0

Empty-batch response helper.

Method of the class: WebflowFetcher{}

No Hooks.

Returns

Array{items:. array, cursor: null, has_next_page: false}

Usage

// private - for code of main (parent) class only
$result = $this->empty_batch(): array;

WebflowFetcher::empty_batch() code WC 11.0.1

private function empty_batch(): array {
	return array(
		'items'         => array(),
		'cursor'        => null,
		'has_next_page' => false,
	);
}