public function get($key, $default = null)
    {
        if (!GC_CLI && isset($_SESSION)) {
            $value = gplcart_array_get($_SESSION, $key);
        }

        return isset($value) ? $value : $default;
    }