Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 93.75% |
Changes | 0 |
1 | <?php |
||
23 | final class PasswordResetEmailFactory extends AbstractUserEmailFactory |
||
24 | { |
||
25 | public const MESSAGE_ID_PREFIX = 'pre'; |
||
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( |
|
49 | parent::getContextKeys(), |
||
50 | [ |
||
51 | 1 | 'redirect_url', |
|
52 | ] |
||
53 | ); |
||
54 | } |
||
55 | |||
56 | 1 | protected function getTemplate(): string |
|
59 | } |
||
60 | } |
||
61 |