Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
23 | final class ChangeEmailConfirmationEmailFactory extends AbstractUserEmailFactory |
||
24 | { |
||
25 | public const MESSAGE_ID_PREFIX = 'cec'; |
||
26 | |||
27 | 3 | public function create(AbstractUser $user, array $context = []): ?RawMessage |
|
44 | } |
||
45 | |||
46 | 1 | protected static function getContextKeys(): ?array |
|
47 | { |
||
48 | 1 | return array_merge(parent::getContextKeys(), [ |
|
49 | 1 | 'redirect_url', |
|
50 | ]); |
||
51 | } |
||
52 | |||
53 | 1 | protected function getTemplate(): string |
|
56 | } |
||
57 | } |
||
58 |