class RouteParameterBinder (View source)
protected Route | $route | The route instance. |
void | __construct(Route $route) Create a new Route parameter binder instance. | |
array | parameters(Request $request) Get the parameters for the route. | |
array | bindPathParameters(Request $request) Get the parameter matches for the path portion of the URI. | |
array | bindHostParameters(Request $request, array $parameters) Extract the parameter list from the host part of the request. | |
array | matchToKeys(array $matches) Combine a set of parameter matches with the route's keys. | |
array | replaceDefaults(array $parameters) Replace null parameters with their defaults. |
Create a new Route parameter binder instance.
Get the parameters for the route.
Get the parameter matches for the path portion of the URI.
Extract the parameter list from the host part of the request.
Combine a set of parameter matches with the route's keys.
Replace null parameters with their defaults.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Routing/RouteParameterBinder.html