Exemplo n.º 1
0
 /**
  * Return an array of metadatas for the given cache id
  *
  * The array must include these keys :
  * - expire : the expire timestamp
  * - tags : a string array of tags
  * - mtime : timestamp of last modification time
  *
  * @param string $id cache id
  * @return array array of metadatas (false if the cache id is not found)
  */
 public function getMetadatas($id)
 {
     return $this->_slowBackend->getMetadatas($id);
 }
 /**
  * Return an array of metadatas for the given cache id
  *
  * The array must include these keys :
  * - expire : the expire timestamp
  * - tags : a string array of tags
  * - mtime : timestamp of last modification time
  *
  * @param string $cacheId cache id
  * @return array|bool array of metadatas (false if the cache id is not found)
  */
 public function getMetadatas($cacheId)
 {
     return $this->_backend->getMetadatas($cacheId);
 }