We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 10 | class User extends Authenticatable |
||
| 11 | { |
||
| 12 | use Notifiable; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The attributes that are mass assignable. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $fillable = [ |
||
| 20 | 'first_name', |
||
| 21 | 'last_name', |
||
| 22 | 'email', |
||
| 23 | 'username', |
||
| 24 | 'phone', |
||
| 25 | 'bio', |
||
| 26 | 'password', |
||
| 27 | ]; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The attributes that should be hidden for arrays. |
||
| 31 | * |
||
| 32 | * @var array |
||
| 33 | */ |
||
| 34 | protected $hidden = [ |
||
| 35 | 'password', |
||
| 36 | 'remember_token', |
||
| 37 | 'created_at', |
||
| 38 | 'updated_at' |
||
| 39 | ]; |
||
| 40 | |||
| 41 | public function campaigns() |
||
| 45 | |||
| 46 | public function donor() |
||
| 50 | } |
||
| 51 |