W3cubDocs

/Laravel 8

ShareErrorsFromSession

class ShareErrorsFromSession (View source)

Properties

protected Factory $view The view factory implementation.

Methods

void __construct(Factory $view)

Create a new error binder instance.

mixed handle(Request $request, Closure $next)

Handle an incoming request.

Details

void __construct(Factory $view)

Create a new error binder instance.

Parameters

Factory $view

Return Value

void

mixed handle(Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/View/Middleware/ShareErrorsFromSession.html