class StartSession implements MiddlewareInterface

Properties

protected SessionHandlerInterface $handler
$cookie
protected array $config

Methods

__construct(SessionHandlerInterface $handler, CookieFactory $cookie, Repository $config)

No description

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)

No description

Details

__construct(SessionHandlerInterface $handler, CookieFactory $cookie, Repository $config)

Parameters

SessionHandlerInterface $handler
CookieFactory $cookie
Repository $config

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface