Esempio n. 1
0
 public function get($key)
 {
     $result = self::$cache->get($this->getNamespace() . $key);
     if ($result === false && !self::$cache->exists($this->getNamespace() . $key)) {
         return null;
     } else {
         return json_decode($result, true);
     }
 }