interface
Illuminate
/
Contracts
/
Routing
/
UrlRoutable
You are viewing an older version of the documentation. For the latest, please visit master documentation.
UrlRoutable
Methods
public
getRouteKey ( ) : mixed
Get the value of the model's route key.
public
getRouteKeyName ( ) : string
Get the route key for the model.
public
resolveRouteBinding ( $value , $field ) : Model |null
Retrieve the model for a bound value.
Parameters
- $value mixed
- $field string|null
public
resolveChildRouteBinding ( $childType , $value , $field ) : Model |null
Retrieve the child model for a bound value.
Parameters
- $childType string
- $value mixed
- $field string|null