Automattic\WooCommerce\Caches
OrderCacheController::init
Class initialization, invoked by the DI container.
Method of the class: OrderCacheController{}
No Hooks.
Returns
null. Nothing (null).
Usage
$OrderCacheController = new OrderCacheController(); $OrderCacheController->init( $order_cache );
- $order_cache(OrderCache) (required)
- The order cache engine to use.
OrderCacheController::init() OrderCacheController::init code WC 10.8.1
final public function init( OrderCache $order_cache ) {
$this->order_cache = $order_cache;
}