public function get($key, $default = false)
    {
        if ($this->has($key) !== false) {
            return $this->cache[$key];
        } else {
            return $default;
        }
    }
public function get($key, $default = false)
    {
        if ($this->has($key) !== false) {
            return $this->cache[$key];
        } else {
            return $default;
        }
    }
public function get ( $ key , $ default = false ) { if ( $ this -> has ( $ key ) !== false ) { return $ this -> cache [ $ key ] ; } else { return $ default ; } }
Reads key's value from a cache if present

@param string $key
@param boolean $default Default value to be returned if required key doesn't exist
@return mixed
Reads key s value from a cache if present