class VerifyCsrfToken (View source)

Methods

void
__construct( Application $app, Encrypter $encrypter)

Create a new middleware instance.

mixed
handle( Request $request, Closure $next)

Handle an incoming request.

Details

at line line 41
void __construct( Application $app, Encrypter $encrypter)

Create a new middleware instance.

Parameters

Application $app
Encrypter $encrypter

Return Value

void

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

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

Exceptions

TokenMismatchException