public function get($key)
    {
        $getResult = $this->getValue($key);
        $unserialized = @unserialize($getResult);

        if (Util::hasInternalExpireTime($unserialized)) {
            $getResult = $unserialized['v'];
        }

        return $getResult;
    }
public function get($key)
    {
        $getResult = $this->getValue($key);
        $unserialized = @unserialize($getResult);

        if (Util::hasInternalExpireTime($unserialized)) {
            $getResult = $unserialized['v'];
        }

        return $getResult;
    }
public function get ( $ key ) { $ getResult = $ this -> getValue ( $ key ) ; $ unserialized = @ unserialize ( $ getResult ) ; if ( Util :: hasInternalExpireTime ( $ unserialized ) ) { $ getResult = $ unserialized [ 'v' ] ; } return $ getResult ; }
Gets the value of a key.

@param string $key

@return mixed The value of the key.

@throws KeyNotFoundException
@throws \Exception
Gets the value of a key .