HasVersion4Uuids
trait HasVersion4Uuids (View source)
Traits
Methods
string
newUniqueId()
Generate a new UUID (version 4) for the model.
resolveRouteBindingQuery($query, mixed $value, string|null $field = null)
Retrieve the model for a bound value.
from
HasUniqueStringIds
bool
getIncrementing()
Get the value indicating whether the IDs are incrementing.
from
HasUniqueStringIds
never
handleInvalidUniqueId(mixed $value, string|null $field)
Throw an exception for the given invalid unique ID.
from
HasUniqueStringIds
Details
Builder
resolveRouteBindingQuery($query, mixed $value, string|null $field = null)
Retrieve the model for a bound value.