class AsFluent implements Castable

Methods

castUsing(array $arguments)

Get the caster class to use when casting from / to this cast target.

Fluent|null
get(Model $model, string $key, mixed $value, array $attributes)

No description

array|null
set(Model $model, string $key, mixed $value, array $attributes)

No description

Details

at line 20
static CastsAttributes|CastsInboundAttributes|string castUsing(array $arguments)

Get the caster class to use when casting from / to this cast target.

Parameters

array $arguments

Return Value

CastsAttributes|CastsInboundAttributes|string

at line 23
Fluent|null get(Model $model, string $key, mixed $value, array $attributes)

No description

Parameters

Model $model
string $key
mixed $value
array $attributes

Return Value

Fluent|null

at line 35
array|null set(Model $model, string $key, mixed $value, array $attributes)

No description

Parameters

Model $model
string $key
mixed $value
array $attributes

Return Value

array|null