Changeset View
Changeset View
Standalone View
Standalone View
src/app/Wallet.php
Show All 34 Lines | class Wallet extends Model | ||||
protected $nullable = [ | protected $nullable = [ | ||||
'description', | 'description', | ||||
]; | ]; | ||||
protected $casts = [ | protected $casts = [ | ||||
'balance' => 'integer', | 'balance' => 'integer', | ||||
]; | ]; | ||||
protected $guarded = ['balance']; | |||||
/** | /** | ||||
* Add a controller to this wallet. | * Add a controller to this wallet. | ||||
* | * | ||||
* @param \App\User $user The user to add as a controller to this wallet. | * @param \App\User $user The user to add as a controller to this wallet. | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 161 Lines • Show Last 20 Lines |