blob: 5b8b105581642602d6a06ee2bf462d1f55a5a7f7 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Auth;
4
5interface 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}