/** * @inheritdoc */ public function clear() { $res = $this->cache->clear(); if ($res === true) { $this->memory = []; } return $res; }
/** * Clears both the meta cache and Doctrine's entity cache. */ public function clear() { $this->cache->clear(); $this->getOrmCache()->flushAll(); }
/** * @inheritdoc */ protected function doFlush() { return $this->cache->clear(); }