Logout.php 478B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace Illuminate\Auth\Events;
  3. use Illuminate\Queue\SerializesModels;
  4. class Logout
  5. {
  6. use SerializesModels;
  7. /**
  8. * The authenticated user.
  9. *
  10. * @var \Illuminate\Contracts\Auth\Authenticatable
  11. */
  12. public $user;
  13. /**
  14. * Create a new event instance.
  15. *
  16. * @param \Illuminate\Contracts\Auth\Authenticatable $user
  17. * @return void
  18. */
  19. public function __construct($user)
  20. {
  21. $this->user = $user;
  22. }
  23. }