title: How to override FOSUserBundle's EmailConfirmationListener
body: <p>I activated user confirmation for FOSUserBundle. But I don't want to take the response from the original listener</p>
  
  <pre><code>$url = $this-&gt;router-&gt;generate('fos_user_registration_check_email');
  $event-&gt;setResponse(new RedirectResponse($url));
  </code></pre>
  
  <p>I want to chose another route. I tried to extend the EventListener</p>
  
  <pre><code>namespace Acme\MyBundle\EventListener;
  
  use FOS\UserBundle\EventListener\EmailConfirmationListener as BaseListener;
  // ...
  
  class EmailConfirmationListener extends BaseListener
  {
      public function onRegistrationSuccess(FormEvent $event)
      {    
          $url = $this-&gt;router-&gt;generate('fos_user_registration_check_email');
          $event-&gt;setResponse(new RedirectResponse($url));
      }
  }
  </code></pre>
  
  <p>Unfortunately, EventListeners don't seem to be extendable, just as Controllers or Forms are. (Just in case you wonder: of course my bundle is a child of the FOSUserBundle.)</p>
  
  <p>So I want to avoid editing those two lines directly in the vendor folder (as it would be very bad practice to do so!). So what are my ways out of this calamity?</p>