1 | <?php |
||
11 | class User extends Authenticatable |
||
12 | { |
||
13 | use Notifiable, HasRoles, UserConfirmation; |
||
14 | |||
15 | /** |
||
16 | * The attributes that are mass assignable. |
||
17 | * |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $fillable = [ |
||
21 | 'username', 'email', 'password', 'confirmation_code', 'is_social', 'confirmed' |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * The attributes that should be hidden for arrays. |
||
26 | * |
||
27 | * @var array |
||
28 | */ |
||
29 | protected $hidden = [ |
||
30 | 'password', 'remember_token', |
||
31 | ]; |
||
32 | |||
33 | /** |
||
34 | * Send the password reset notification. |
||
35 | * |
||
36 | * @param string $token |
||
37 | * @return void |
||
38 | */ |
||
39 | public function sendPasswordResetNotification($token) |
||
43 | } |
||
44 |