| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class PasswordResetEmailFactory extends AbstractUserEmailFactory |
||
| 24 | { |
||
| 25 | public function create(AbstractUser $user, array $context = []): ?RawMessage |
||
| 41 | } |
||
| 42 | |||
| 43 | protected static function getRequiredContextKeys(): ?array |
||
| 44 | { |
||
| 45 | return array_merge(parent::getRequiredContextKeys(), [ |
||
| 46 | 'redirect_url', |
||
| 47 | ]); |
||
| 48 | } |
||
| 49 | |||
| 50 | protected function getTemplate(): string |
||
| 53 | } |
||
| 54 | } |
||
| 55 |