class CookieMiddleware implements MiddlewareInterface (View source)

Middleware for adding and deleting cookies to an http response

Properties

private CookieJar $cookies

Methods

__construct(CookieJar $cookies)

No description

Response
process(Request $request, DelegateInterface $frame)

Add or remove cookies from the

Details

__construct(CookieJar $cookies)

No description

Parameters

CookieJar $cookies

Response process(Request $request, DelegateInterface $frame)

Add or remove cookies from the

Parameters

Request $request
DelegateInterface $frame

Return Value

Response