UrlRoutable
interface UrlRoutable
Methods
mixed
getRouteKey()
Get the value of the model's route key.
string
getRouteKeyName()
Get the route key for the model.
mixed
resolveRouteBinding(mixed $value, string|null $field = null)
Retrieve the model for a bound value.
mixed
resolveChildRouteBinding(string $childType, mixed $value, string|null $field)
Retrieve the child model for a bound value.
Details
at line 12
mixed
getRouteKey()
Get the value of the model's route key.
at line 17
string
getRouteKeyName()
Get the route key for the model.
at line 22
mixed
resolveRouteBinding(mixed $value, string|null $field = null)
Retrieve the model for a bound value.
at line 27
mixed
resolveChildRouteBinding(string $childType, mixed $value, string|null $field)
Retrieve the child model for a bound value.