37 $this->_frontendPool = $frontendPool;
38 $this->_frontend = $frontendPool->get($this->_frontendIdentifier);
57 public function load($identifier)
59 return $this->_frontend->load($identifier);
71 public function save(
$data, $identifier, $tags = [], $lifeTime =
null)
73 return $this->_frontend->save((
string)
$data, $identifier, $tags, $lifeTime);
82 public function remove($identifier)
84 return $this->_frontend->remove($identifier);
93 public function clean($tags = [])
101 foreach ($this->_frontendPool as $cacheFrontend) {
102 if ($cacheFrontend->clean()) {
__construct(\Magento\Framework\App\Cache\Frontend\Pool $frontendPool)
const DEFAULT_FRONTEND_ID
const CLEANING_MODE_MATCHING_ANY_TAG
save($data, $identifier, $tags=[], $lifeTime=null)