AuthenticationTestUser.php 596 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Illuminate\Tests\Integration\Auth\Fixtures;
  3. use Illuminate\Foundation\Auth\User as Authenticatable;
  4. use Illuminate\Notifications\Notifiable;
  5. class AuthenticationTestUser extends Authenticatable
  6. {
  7. use Notifiable;
  8. public $table = 'users';
  9. public $timestamps = false;
  10. /**
  11. * The attributes that aren't mass assignable.
  12. *
  13. * @var string[]
  14. */
  15. protected $guarded = [];
  16. /**
  17. * The attributes that should be hidden for arrays.
  18. *
  19. * @var string[]
  20. */
  21. protected $hidden = [
  22. 'password', 'remember_token',
  23. ];
  24. }