Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Contracts\Auth; |
| 4 | |
| 5 | interface MustVerifyEmail |
| 6 | { |
| 7 | /** |
| 8 | * Determine if the user has verified their email address. |
| 9 | * |
| 10 | * @return bool |
| 11 | */ |
| 12 | public function hasVerifiedEmail(); |
| 13 | |
| 14 | /** |
| 15 | * Mark the given user's email as verified. |
| 16 | * |
| 17 | * @return bool |
| 18 | */ |
| 19 | public function markEmailAsVerified(); |
| 20 | |
| 21 | /** |
| 22 | * Send the email verification notification. |
| 23 | * |
| 24 | * @return void |
| 25 | */ |
| 26 | public function sendEmailVerificationNotification(); |
| 27 | |
| 28 | /** |
| 29 | * Get the email address that should be used for verification. |
| 30 | * |
| 31 | * @return string |
| 32 | */ |
| 33 | public function getEmailForVerification(); |
| 34 | } |