interface DeviatesCastableAttributes (View source)
mixed | increment(Model $model, string $key, mixed $value, array $attributes) Increment the attribute. | |
mixed | decrement(Model $model, string $key, mixed $value, array $attributes) Decrement the attribute. |
Increment the attribute.
Decrement the attribute.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Contracts/Database/Eloquent/DeviatesCastableAttributes.html