class StartSession (View source)

Methods

void
__construct( SessionManager $manager)

Create a new session middleware.

mixed
handle( Request $request, Closure $next)

Handle an incoming request.

void
terminate( Request $request, Response $response)

Perform any final actions for the request lifecycle.

getSession( Request $request)

Get the session implementation from the manager.

Details

at line line 37
void __construct( SessionManager $manager)

Create a new session middleware.

Parameters

SessionManager $manager

Return Value

void

at line line 49
mixed handle( Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

at line line 85
void terminate( Request $request, Response $response)

Perform any final actions for the request lifecycle.

Parameters

Request $request
Response $response

Return Value

void

at line line 115
SessionInterface getSession( Request $request)

Get the session implementation from the manager.

Parameters

Request $request

Return Value

SessionInterface