public function modifyRequestCookie($request, $name, $value = null)
    {
        $modify = function (Cookie $cookie) {
            $value = $cookie->getValue();

            return $cookie->withValue($value);
        };

        $request = FigRequestCookies::modify($request, $name, $modify);

        return $request;
    }