8 use \Magento\Framework\App\CacheInterface;
9 use \Magento\Framework\ObjectManager\NoninterceptableInterface;
43 if (
null == $this->_cache) {
44 $this->_cache = $this->_objectManager->get(\
Magento\Framework\
App\Cache::class);
65 public function load($identifier)
67 return $this->
_getCache()->load($identifier);
79 public function save(
$data, $identifier, $tags = [], $lifeTime =
null)
81 return $this->
_getCache()->save(
$data, $identifier, $tags, $lifeTime);
90 public function remove($identifier)
92 return $this->
_getCache()->remove($identifier);
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
save($data, $identifier, $tags=[], $lifeTime=null)