/** * {@inheritdoc} */ public function load($identifier) { if (!$this->_isEnabled()) { return false; } return parent::load($identifier); }
/** * {@inheritdoc} */ public function load($identifier) { \Magento\Framework\Profiler::start('cache_load', $this->_getProfilerTags('load')); $result = parent::load($identifier); \Magento\Framework\Profiler::stop('cache_load'); return $result; }