public static function get($key, $default = null)
    {
        if (static::has($key)) {
            return Crypto::decrypt($_COOKIE[$key]);
        }

        if (is_callable($default)) {
            return $default();
        }

        return  $default;
    }
public static function get($key, $default = null)
    {
        if (static::has($key)) {
            return Crypto::decrypt($_COOKIE[$key]);
        }

        if (is_callable($default)) {
            return $default();
        }

        return  $default;
    }
public static function get ( $ key , $ default = null ) { if ( static :: has ( $ key ) ) { return Crypto :: decrypt ( $ _COOKIE [ $ key ] ) ; } if ( is_callable ( $ default ) ) { return $ default ( ) ; } return $ default ; }
Allows you to retrieve a value or collection of cookie value.

@param string $key
@param mixed  $default

@return mixed
Allows you to retrieve a value or collection of cookie value .