Automattic\WooCommerce\Blocks\BlockTypes\ProductCollection

QueryBuilder::set_collection_handler_store()publicWC 1.0

Set the collection handler store.

Method of the class: QueryBuilder{}

No Hooks.

Return

null. Nothing (null).

Usage

$QueryBuilder = new QueryBuilder();
$QueryBuilder->set_collection_handler_store( $collection_handler_store );
$collection_handler_store(array) (required)
The collection handler store containing registered collection handlers.

QueryBuilder::set_collection_handler_store() code WC 9.6.1

public function set_collection_handler_store( $collection_handler_store ) {
	$this->collection_handler_store = $collection_handler_store;
}