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;
    }
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;
    }
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 ; }
Modify Request Cookie
Modify Request Cookie