ImplicitRouteBinding

class ImplicitRouteBinding (View source)

Methods

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

Resolve the implicit route bindings for the given 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

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Routing/ImplicitRouteBinding.html