8000
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 57650f7 + 95e07a8 commit f6a418dCopy full SHA for f6a418d
book/service_container.rst
@@ -966,13 +966,13 @@ to be used for a specific purpose. Take the following example:
966
967
.. code-block:: xml
968
969
- <service id="foo.twig.extension" class="Acme\HelloBundle\Extension\RadiusExtension">
+ <service id="foo.twig.extension" class="Acme\HelloBundle\Extension\FooExtension">
970
<tag name="twig.extension" />
971
</service>
972
973
.. code-block:: php
974
975
- $definition = new Definition('Acme\HelloBundle\Extension\RadiusExtension');
+ $definition = new Definition('Acme\HelloBundle\Extension\FooExtension');
976
$definition->addTag('twig.extension');
977
$container->setDefinition('foo.twig.extension', $definition);
978
0 commit comments