SessionMiddleware
class SessionMiddleware implements MiddlewareInterface (View source)
A middleware that handles the session in a HTTP request
Properties
protected array | $sessionSettings | ||
protected SessionManagerInterface | $sessionManager |
Methods
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $next)
No description
ResponseInterface
handleSetCookie(ResponseInterface $response)
No description
prepareCookie(string $name, string $value)
Prepares a cookie object for the session.
Details
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $next)
No description
protected ResponseInterface
handleSetCookie(ResponseInterface $response)
No description
protected Cookie
prepareCookie(string $name, string $value)
Prepares a cookie object for the session.