StartSession (Session\Middleware)
StartSession
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. | |
SessionInterface | getSession(Request $request) Get the session implementation from the manager. |
Details
void __construct(SessionManager $manager)
Create a new session middleware.
void terminate(Request $request, Response $response)
Perform any final actions for the request lifecycle.
SessionInterface getSession(Request $request)
Get the session implementation from the manager.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Session/Middleware/StartSession.html