| Total Complexity | 0 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class User extends Model implements AuthenticatableContract, AuthorizableContract |
||
| 13 | { |
||
| 14 | use HasApiTokens, Authenticatable, Authorizable; |
||
|
|
|||
| 15 | |||
| 16 | /** |
||
| 17 | * The attributes that are mass assignable. |
||
| 18 | * |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $fillable = [ |
||
| 22 | 'name', 'email', |
||
| 23 | ]; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The attributes excluded from the model's JSON form. |
||
| 27 | * |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected $hidden = [ |
||
| 31 | 'password', |
||
| 32 | ]; |
||
| 34 |