W3cubDocs

/Laravel 8

SubstituteBindings

class SubstituteBindings (View source)

Properties

protected Registrar $router The router instance.

Methods

void __construct(Registrar $router)

Create a new bindings substitutor.

mixed handle(Request $request, Closure $next)

Handle an incoming request.

Details

void __construct(Registrar $router)

Create a new bindings substitutor.

Parameters

Registrar $router

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/Routing/Middleware/SubstituteBindings.html