Skip to content

Commit 2b7e5ee

Browse files
committed
minor #4891 fixed typo (acme -> app) (adiebler)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4891). Discussion ---------- fixed typo (acme -> app) Commits ------- f84cdb6 fixed typo (acme -> app)
2 parents 00981de + f84cdb6 commit 2b7e5ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/templating/twig_extension.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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::

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy