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

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.