| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class Admin extends Authenticatable implements MustVerifyEmail |
||
| 13 | { |
||
| 14 | use HasFactory; |
||
| 15 | use Notifiable; |
||
|
|
|||
| 16 | |||
| 17 | /** |
||
| 18 | * The attributes that are mass assignable. |
||
| 19 | * |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $fillable = [ |
||
| 23 | 'name', 'email', 'password', |
||
| 24 | ]; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The attributes that should be hidden for arrays. |
||
| 28 | * |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | protected $hidden = [ |
||
| 32 | 'password', 'remember_token', |
||
| 33 | ]; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Send the password reset notification. |
||
| 37 | * |
||
| 38 | * @param string $token |
||
| 39 | */ |
||
| 40 | 1 | public function sendPasswordResetNotification($token) |
|
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Send the email verification notification. |
||
| 47 | */ |
||
| 48 | 1 | public function sendEmailVerificationNotification() |
|
| 53 |