RouteParameterBinder
class RouteParameterBinder
Methods
array
array
parametersFromCompiledMatch(array $parameters)
Get route parameters from a compiled matcher result.
array
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.
Details
at line 15
__construct(Route $route)
Create a new Route parameter binder instance.
at line 23
array
parameters(Request $request)
Get the parameters for the route.
at line 45
array
parametersFromCompiledMatch(array $parameters)
Get route parameters from a compiled matcher result.
at line 57
protected array
bindPathParameters(Request $request)
Get the parameter matches for the path portion of the URI.
at line 69
protected array
bindHostParameters(Request $request, array $parameters)
Extract the parameter list from the host part of the request.
at line 79
protected array
matchToKeys(array $matches)
Combine a set of parameter matches with the route's keys.
at line 103
protected array
replaceDefaults(array $parameters)
Replace null parameters with their defaults.