class ImplicitRouteBinding (View source)

Methods

static void
resolveForRoute(Container $container, Route $route)

Resolve the implicit route bindings for the given route.

static Route
resolveBackedEnumsForRoute(Route $route, array $parameters)

Resolve the Backed Enums route bindings for the route.

static string|null
getParameterName(string $name, array $parameters)

Return the parameter name if it exists in the given parameters.

Details

static void resolveForRoute(Container $container, Route $route)

Resolve the implicit route bindings for the given route.

Parameters

Container $container
Route $route

Return Value

void

Exceptions

Model>
BackedEnumCaseNotFoundException

static protected Route resolveBackedEnumsForRoute(Route $route, array $parameters)

Resolve the Backed Enums route bindings for the route.

Parameters

Route $route
array $parameters

Return Value

Route

Exceptions

BackedEnumCaseNotFoundException

static protected string|null getParameterName(string $name, array $parameters)

Return the parameter name if it exists in the given parameters.

Parameters

string $name
array $parameters

Return Value

string|null