DeviatesCastableAttributes
interface DeviatesCastableAttributes (View source)
Methods
| 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.  |  
Details
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.
    © 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