Пример #1
0
 /**
  * @inheritdoc
  */
 protected function doContains($id)
 {
     return $this->cache->has($id);
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 public function contains($id, array $options = null)
 {
     return $this->cache->has($id);
 }
Пример #3
0
 /**
  * @inheritdoc
  */
 public function has($key)
 {
     return array_key_exists($key, $this->memory) || $this->cache->has($key);
 }