Created
May 31, 2020 14:23
-
-
Save J7mbo/0e2d8f96ba60e9d9c30c443aa8f30366 to your computer and use it in GitHub Desktop.
php-symfony-controllers-as-services-blog-5.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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