public function get($key, $default = null)
    {
        $cache = $this->adapter->getItem($key);

        return (isset($cache) && $cache !== null) ? $cache : $default;
    }
public function get($key, $default = null)
    {
        $cache = $this->adapter->getItem($key);

        return (isset($cache) && $cache !== null) ? $cache : $default;
    }
public function get ( $ key , $ default = null ) { $ cache = $ this -> adapter -> getItem ( $ key ) ; return ( isset ( $ cache ) && $ cache !== null ) ? $ cache : $ default ; }
Get the value from cache.

@param (mixed) $key
@param (mixed) $default

@since 3.0.0

@return mixed
Get the value from cache .