class CookieMiddleware implements MiddlewareInterface (View source)

Middleware for adding and deleting cookies to an http response.

Properties

private ResponseCookieJar $responseCookieJar

Methods

__construct(ResponseCookieJar $responseCookieJar)

No description

Response
process(Request $request, DelegateInterface $frame)

Process the request and return a response

Details

__construct(ResponseCookieJar $responseCookieJar)

No description

Parameters

ResponseCookieJar $responseCookieJar

Response process(Request $request, DelegateInterface $frame)

Process the request and return a response

Parameters

Request $request
DelegateInterface $frame

Return Value

Response

See also

MiddlewareInterface::process