src/PHPCache.php
public function get($key)
    {
        if (isset($this->cache[$key])) {
            list($expires, $value) = $this->cache[$key];
            if (!$expires || ($expires >= microtime(true))) {
                return $value;
            }
            unset($this->cache[$key]);
        }
        return false;
    }
public function get($key)
    {
        if (isset($this->cache[$key])) {
            list($expires, $value) = $this->cache[$key];
            if (!$expires || ($expires >= microtime(true))) {
                return $value;
            }
            unset($this->cache[$key]);
        }
        return false;
    }
public function get ( $ key ) { if ( isset ( $ this -> cache [ $ key ] ) ) { list ( $ expires , $ value ) = $ this -> cache [ $ key ] ; if ( ! $ expires || ( $ expires >= microtime ( true ) ) ) { return $ value ; } unset ( $ this -> cache [ $ key ] ) ; } return false ; }
Fetch a cache entry by key.

@param String $key The key for the entry to fetch
@return mixed The value stored in the cache for $key
Fetch a cache entry by key .