interface CastsInboundAttributes (View source)

Methods

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

Transform the attribute to its underlying model values.

Details

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

Transform the attribute to its underlying model values.

Parameters

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

Return Value

array