Example #1
0
 /**
  * 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);
 }
Example #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));
 }