/** * Returns a cached value based on it's key * * @param String $key The value to retrieve * @return mixed Returns the cached value */ public function get($key) { $first = $this->primary->get($key); if ($first !== NULL) { return $first; } return $this->secondary->get($key); }
/** * Returns a cached value based on it's key * * @param String $key The value to retrieve * @return mixed Returns the cached value */ public function get($key) { return $this->inner->get($this->prepareKey($key)); }
/** * Returns a cached value based on it's key * * @param String $key The value to retrieve * @return mixed Returns the cached value */ public function get($key) { return $this->cache->get($this->modifyKey($key)); }
/** * Returns a the raw value from the cache * * @return mixed Returns the cached value */ public function get() { return $this->cache->get($this->key); }