MustVerifyEmail.php 666 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Illuminate\Contracts\Auth;
  3. interface MustVerifyEmail
  4. {
  5. /**
  6. * Determine if the user has verified their email address.
  7. *
  8. * @return bool
  9. */
  10. public function hasVerifiedEmail();
  11. /**
  12. * Mark the given user's email as verified.
  13. *
  14. * @return bool
  15. */
  16. public function markEmailAsVerified();
  17. /**
  18. * Send the email verification notification.
  19. *
  20. * @return void
  21. */
  22. public function sendEmailVerificationNotification();
  23. /**
  24. * Get the email address that should be used for verification.
  25. *
  26. * @return string
  27. */
  28. public function getEmailForVerification();
  29. }