EkynaCoreBundle.php
public function build(ContainerBuilder $container)
    {
        parent::build($container);

        $container->addCompilerPass(new FosHttpCachePass());
        $container->addCompilerPass(new RedirectionProviderPass());
        $container->addCompilerPass(new SetRouterPass());
        $container->addCompilerPass(new RegisterRoutersPass('ekyna_core.router'), PassConfig::TYPE_BEFORE_REMOVING);
        $container->addCompilerPass(new FormJsPass());
    }
public function build(ContainerBuilder $container)
    {
        parent::build($container);

        $container->addCompilerPass(new FosHttpCachePass());
        $container->addCompilerPass(new RedirectionProviderPass());
        $container->addCompilerPass(new SetRouterPass());
        $container->addCompilerPass(new RegisterRoutersPass('ekyna_core.router'), PassConfig::TYPE_BEFORE_REMOVING);
        $container->addCompilerPass(new FormJsPass());
    }
{@inheritdoc}