ShippingBreakdown
class ShippingBreakdown implements CastsAttributes, SerializesCastableAttributes (View source)
Methods
Collection
get(Model $model, string $key, mixed $value, array $attributes)
Cast the given value.
array
serialize(Model $model, string $key, Collection $value, array<string,mixed> $attributes)
Get the serialized representation of the value.
Details
Collection
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.
serialize(Model $model, string $key, Collection $value, array<string,mixed> $attributes)
Get the serialized representation of the value.