title: Override a controller Symfony 3.4/4.0
body: <p>I'm currently trying to override a controller from FOSUserBundle.
   In the new documentation,
  (<a href="https://symfony.com/doc/3.4/bundles/override.html" rel="noreferrer">https://symfony.com/doc/3.4/bundles/override.html</a>), they said we just have to override the route name of the bundle. </p>
  
  <p>I've tried something like this :</p>
  
  <pre><code>&lt;?php
  namespace App\Controller\Bundles;
  
  use FOS\UserBundle\Controller\RegistrationController as BaseController;
  use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
  
  class RegistrationController extends BaseController {
      /**
       * @Route("/registration/", name="fos_user_registration_register")
       * @param Request $request
       *
       * @return Response
       */
      public function registerAction(Request $request) {
      // My code
      }
  </code></pre>
  
  <p>But it does not work when I am rendering the FOS register form :</p>
  
  <pre><code>{{ render(controller('FOSUserBundle:Registration:register')) }}
  </code></pre>
  
  <p>This was working with Sf3.3 :(</p>