예제 #1
0
파일: core.php 프로젝트: Ignite-IT/enolaphp
 /**
  * Devuelve un atributo en cache a nivel aplicacion. Si no existe devuelve NULL.
  * @param string $key
  * @return data
  */
 public function getAttribute($key)
 {
     return $this->cache->get($this->prefixApp . $key);
 }
예제 #2
0
 /**
  * Devuelve un valor guardado en cache o null si no existe
  * @param string $key
  */
 public function get($key)
 {
     return $this->store->get($this->realKey($key));
 }