Automattic\WooCommerce\Caching
ObjectCache::get_cache_engine_instance
Get the instance of the cache engine to use.
Method of the class: ObjectCache{}
No Hooks.
Returns
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 10.4.3
protected function get_cache_engine_instance(): CacheEngine {
return wc_get_container()->get( WPCacheEngine::class );
}