We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13284cb commit 6785e7cCopy full SHA for 6785e7c
components/dependency_injection/compilation.rst
@@ -256,11 +256,9 @@ but also load a secondary one only if a certain parameter is set::
256
method::
257
258
use Symfony\Component\DependencyInjection\ContainerBuilder;
259
- use Symfony\Component\Config\FileLocator;
260
- use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
261
262
$container = new ContainerBuilder();
263
- $extension = new AcmeDemoExtension;
+ $extension = new AcmeDemoExtension();
264
$container->registerExtension($extension);
265
$container->loadFromExtension($extension->getAlias());
266
$container->compile();
0 commit comments