Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save J7mbo/0e2d8f96ba60e9d9c30c443aa8f30366 to your computer and use it in GitHub Desktop.
Save J7mbo/0e2d8f96ba60e9d9c30c443aa8f30366 to your computer and use it in GitHub Desktop.
php-symfony-controllers-as-services-blog-5.php
protected function build(ContainerBuilder $container)
{
$container->addCompilerPass(new ControllersAsServices, PassConfig::TYPE_BEFORE_OPTIMIZATION, -1);
parent::build($container);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment