1 | <?php |
||
10 | class ConfirmEmail |
||
11 | { |
||
12 | /** |
||
13 | * Confirm email |
||
14 | * |
||
15 | * @param string $token |
||
16 | * @throws BadRequestHttpException |
||
17 | */ |
||
18 | public function setConfirmed(string $token): void |
||
36 | |||
37 | /** |
||
38 | * Sends an email with a link, for confirm the email |
||
39 | * |
||
40 | * @throws UserException |
||
41 | */ |
||
42 | public function sendEmail(User $user): void |
||
66 | } |
||
67 |