/**
  * {@inheritdoc}
  */
 public function handle(UserEvent $anEvent)
 {
     $url = $this->urlGenerator->generate($this->route, ['remember-password-token' => $anEvent->rememberPasswordToken()->token()]);
     $mail = $this->mailableFactory->build($anEvent->email(), ['email' => $anEvent->email(), 'url' => $url]);
     $this->mailer->mail($mail);
 }
 /**
  * {@inheritdoc}
  */
 public function handle(UserEvent $anEvent)
 {
     $url = $this->urlGenerator->generate($this->route, ['confirmation-token' => $anEvent->confirmationToken()->token()]);
     $mail = $this->mailableFactory->build($anEvent->email(), ['email' => $anEvent->email(), 'url' => $url]);
     $this->mailer->mail($mail);
 }