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