PHP Class Flarum\Http\Middleware\StartSession
Show file
Open project: flarum/core
Public Methods
Method |
Description |
|
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $out = null ) |
|
|
Private Methods
Method |
Description |
|
startSession ( ) |
|
|
withCsrfTokenHeader ( Psr\Http\Message\ResponseInterface $response, Symfony\Component\HttpFoundation\Session\SessionInterface $session ) |
|
|
withSessionCookie ( Psr\Http\Message\ResponseInterface $response, Symfony\Component\HttpFoundation\Session\SessionInterface $session ) |
|
|
Method Details
public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $out = null ) |
$request |
Psr\Http\Message\ServerRequestInterface |
|
$response |
Psr\Http\Message\ResponseInterface |
|
$out |
callable |
|