class SubstituteBindings (View source)

Properties

protected Registrar $router

The router instance.

Methods

__construct(Registrar $router)

Create a new bindings substitutor.

mixed
handle(Request $request, Closure $next)

Handle an incoming request.

Details

__construct(Registrar $router)

Create a new bindings substitutor.

Parameters

Registrar $router

mixed handle(Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

Exceptions

ModelNotFoundException

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.