Пример #1
0
 /**
  * @inheritdoc
  */
 public function clear()
 {
     $res = $this->cache->clear();
     if ($res === true) {
         $this->memory = [];
     }
     return $res;
 }
Пример #2
0
 /**
  * Clears both the meta cache and Doctrine's entity cache.
  */
 public function clear()
 {
     $this->cache->clear();
     $this->getOrmCache()->flushAll();
 }
Пример #3
0
 /**
  * @inheritdoc
  */
 protected function doFlush()
 {
     return $this->cache->clear();
 }