AsUri
class AsUri implements Castable
Methods
static CastsAttributes|CastsInboundAttributes|string
castUsing(array $arguments)
Get the caster class to use when casting from / to this cast target.
Uri|null
Details
at line 19
static CastsAttributes|CastsInboundAttributes|string
castUsing(array $arguments)
Get the caster class to use when casting from / to this cast target.
at line 25
Uri|null
get(Model $model, string $key, mixed $value, array $attributes)
Cast the stored value to a URI.
at line 33
string|null
set(Model $model, string $key, mixed $value, array $attributes)
Prepare the URI for storage.