We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e8bb8b + e4b9f17 commit a928fa3Copy full SHA for a928fa3
components/dependency_injection/compilation.rst
@@ -112,10 +112,11 @@ processed when the container is compiled at which point the Extensions are loade
112
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
113
114
$container = new ContainerBuilder();
115
+ $container->registerExtension(new AcmeDemoExtension);
116
+
117
$loader = new YamlFileLoader($container, new FileLocator(__DIR__));
118
$loader->load('config.yml');
119
- $container->registerExtension(new AcmeDemoExtension);
120
// ...
121
$container->compile();
122
0 commit comments