Automattic\WooCommerce\Caches
OrderCacheController::init()
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() OrderCacheController::init code WC 9.7.1
final public function init( OrderCache $order_cache ) { $this->order_cache = $order_cache; }