Failed.php 660B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Illuminate\Auth\Events;
  3. class Failed
  4. {
  5. /**
  6. * The user the attempter was trying to authenticate as.
  7. *
  8. * @var \Illuminate\Contracts\Auth\Authenticatable|null
  9. */
  10. public $user;
  11. /**
  12. * The credentials provided by the attempter.
  13. *
  14. * @var array
  15. */
  16. public $credentials;
  17. /**
  18. * Create a new event instance.
  19. *
  20. * @param \Illuminate\Contracts\Auth\Authenticatable|null $user
  21. * @param array $credentials
  22. * @return void
  23. */
  24. public function __construct($user, $credentials)
  25. {
  26. $this->user = $user;
  27. $this->credentials = $credentials;
  28. }
  29. }