Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
21 | public function __construct(EventDispatcherInterface $dispatcher, Swift_Mailer $mailer, TranslatorInterface $translator, TwigEngine $twig, $emailFrom) |
||
22 | { |
||
23 | $this->mailer = $mailer; |
||
24 | $this->translator = $translator; |
||
25 | $this->emailFrom = $emailFrom; |
||
26 | $this->twig = $twig; |
||
27 | |||
28 | $dispatcher->addListener(PasswordResetTokenCreated::NAME, [$this, 'onPasswordResetTokenCreated']); |
||
29 | } |
||
30 | |||
48 |