class EnsureEmailIsVerified (View source)

Methods

static string
redirectTo(string $route)

Specify the redirect route for the middleware.

handle(Request $request, Closure $next, string|null $redirectToRoute = null)

Handle an incoming request.

Details

static string redirectTo(string $route)

Specify the redirect route for the middleware.

Parameters

string $route

Return Value

string

Response|RedirectResponse|null handle(Request $request, Closure $next, string|null $redirectToRoute = null)

Handle an incoming request.

Parameters

Request $request
Closure $next
string|null $redirectToRoute

Return Value

Response|RedirectResponse|null