exists() публичный Метод

Checks whether a specified key exists in the cache.
public exists ( string $key ) : boolean
$key string
Результат boolean
Пример #1
0
 /**
  * @param string $key
  *
  * @return bool
  */
 public function exists($key)
 {
     return $this->adapter->exists($this->_prefix . $key);
 }