コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function load($identifier)
 {
     if (!$this->_isEnabled()) {
         return false;
     }
     return parent::load($identifier);
 }
コード例 #2
0
ファイル: Profiler.php プロジェクト: IlyaGluschenko/test001
 /**
  * {@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;
 }