File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ Now you must let the Service Container know about your newly created Twig Extens
7373 # app/config/services.yml
7474 services :
7575 app.twig_extension :
76- class : AppBundle\Twig\AcmeExtension
76+ class : AppBundle\Twig\AppExtension
7777 tags :
7878 - { name: twig.extension }
7979
8080 .. code-block :: xml
8181
8282 <!-- app/config/services.xml -->
8383 <services >
84- <service id =" app.twig_extension" class =" AppBundle\Twig\AcmeExtension " >
84+ <service id =" app.twig_extension" class =" AppBundle\Twig\AppExtension " >
8585 <tag name =" twig.extension" />
8686 </service >
8787 </services >
@@ -92,7 +92,7 @@ Now you must let the Service Container know about your newly created Twig Extens
9292 use Symfony\Component\DependencyInjection\Definition;
9393
9494 $container
95- ->register('app.twig_extension', '\AppBundle\Twig\AcmeExtension ')
95+ ->register('app.twig_extension', '\AppBundle\Twig\AppExtension ')
9696 ->addTag('twig.extension');
9797
9898 .. note ::
You can’t perform that action at this time.
0 commit comments