class
Price implements CastsAttributes (View source)
Methods
get(
Model $model, string $key, mixed $value, array $attributes)
Cast the given value.
array
set(
Model $model, string $key,
Price $value, array $attributes)
Prepare the given value for storage.
Details
Price
get(Model $model, string $key, mixed $value, array $attributes)
array
set(Model $model, string $key, Price $value, array $attributes)
Prepare the given value for storage.