class Illuminate / Routing / RouteParameterBinder

RouteParameterBinder

Properties

protected

$route Route

The route instance.

Default: null

Methods

public

__construct ( $route ) : void

Create a new Route parameter binder instance.

Parameters

public

parameters ( $request ) : array

Get the parameters for the route.

Parameters

protected

bindPathParameters ( $request ) : array

Get the parameter matches for the path portion of the URI.

Parameters

protected

bindHostParameters ( $request , $parameters ) : array

Extract the parameter list from the host part of the request.

Parameters

protected

matchToKeys ( array $matches ) : array

Combine a set of parameter matches with the route's keys.

Parameters

  • $matches array
protected

replaceDefaults ( array $parameters ) : array

Replace null parameters with their defaults.

Parameters

  • $parameters array