Attempting.php 746 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace Illuminate\Auth\Events;
  3. class Attempting
  4. {
  5. /**
  6. * The authentication guard name.
  7. *
  8. * @var string
  9. */
  10. public $guard;
  11. /**
  12. * The credentials for the user.
  13. *
  14. * @var array
  15. */
  16. public $credentials;
  17. /**
  18. * Indicates if the user should be "remembered".
  19. *
  20. * @var bool
  21. */
  22. public $remember;
  23. /**
  24. * Create a new event instance.
  25. *
  26. * @param string $guard
  27. * @param array $credentials
  28. * @param bool $remember
  29. * @return void
  30. */
  31. public function __construct($guard, $credentials, $remember)
  32. {
  33. $this->guard = $guard;
  34. $this->remember = $remember;
  35. $this->credentials = $credentials;
  36. }
  37. }