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.

Return Value

mixed

at line 17
string getRouteKeyName()

Get the route key for the model.

Return Value

string

at line 22
mixed resolveRouteBinding(mixed $value, string|null $field = null)

Retrieve the model for a bound value.

Parameters

mixed $value
string|null $field

Return Value

mixed

at line 27
mixed resolveChildRouteBinding(string $childType, mixed $value, string|null $field)

Retrieve the child model for a bound value.

Parameters

string $childType
mixed $value
string|null $field

Return Value

mixed