Automattic\WooCommerce\Caching
ObjectCache::get_cache_engine_instance()
Get the instance of the cache engine to use.
Method of the class: ObjectCache{}
No Hooks.
Return
CacheEngine
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_cache_engine_instance(): CacheEngine;
ObjectCache::get_cache_engine_instance() ObjectCache::get cache engine instance code WC 9.4.2
protected function get_cache_engine_instance(): CacheEngine { return wc_get_container()->get( WPCacheEngine::class ); }