Beispiel #1
0
 public static function load($key)
 {
     if (!self::isEnabled()) {
         return false;
     }
     return self::$_cache->load(self::_multiTenantKey($key));
 }
Beispiel #2
0
 private function getCache()
 {
     if (($data = $this->_cache->load($this->_key)) != false) {
         return $data;
     }
     return false;
 }
Beispiel #3
0
 private function getCache()
 {
     if (($response = $this->_cache->load($this->_key)) != false) {
         return $response;
     }
     return false;
 }
Beispiel #4
0
 /**
  *
  * @return mixed
  */
 public function getCache()
 {
     if (($response = $this->cache->load($this->key)) != false) {
         return $response;
     }
     return false;
 }