Automattic\WooCommerce\Caches

OrderCacheController::init()publicWC 1.0

Class initialization, invoked by the DI container.

Method of the class: OrderCacheController{}

No Hooks.

Return

null. Nothing (null).

Usage

$OrderCacheController = new OrderCacheController();
$OrderCacheController->init( $order_cache );
$order_cache(OrderCache) (required)
The order cache engine to use.

OrderCacheController::init() code WC 9.7.1

final public function init( OrderCache $order_cache ) {
	$this->order_cache = $order_cache;
}