AsVector
class AsVector implements Castable
Properties
| bool | $withoutObjectCaching |
Methods
static CastsAttributes|CastsInboundAttributes|string
castUsing(array $arguments)
Get the caster class to use when casting from / to this cast target.
array|null
array
Details
at line 26
static CastsAttributes|CastsInboundAttributes|string
castUsing(array $arguments)
Get the caster class to use when casting from / to this cast target.
at line 39
array|null
get(Model $model, string $key, mixed $value, array $attributes)
Transform the attribute from the underlying model values.
at line 71
array
set(Model $model, string $key, mixed $value, array $attributes)
Transform the attribute to its underlying model values.
at line 102
bool
compare(Model $model, string $key, mixed $firstValue, mixed $secondValue)
Determine if the given values are equal.