title: i rendred both the login and registration controllers in a single twig page but it kept on giving me error
body: <pre><code>&lt;div class="container"&gt;
  &lt;div class="row"&gt;
    &lt;div class="col-md-6"&gt;
      &lt;div class="login-signup-form"&gt;
          {{ render(controller('FOSUserBundle:Security:login')) }}
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col-md-6"&gt;
      &lt;div class="login-signup-form"&gt;
          {{ render(controller('FOSUserBundle:Registration:register')) }}
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>and this is the error:</p>
  
  <blockquote>
    <p>An exception has been thrown during the rendering of a template
    ("Catchable Fatal Error: Argument 1 passed to
    FOS\UserBundle\Controller\RegistrationController::__construct() must
    implement interface
    Symfony\Component\EventDispatcher\EventDispatcherInterface, none
    given, called in C:\wamp64\www\test\var\cache\dev\classes.php on line
    3906 and defined").</p>
  </blockquote>