@@ -6,7 +6,7 @@ How to Use the Twig Extension Repository
66
77The `Twig official extension repository `_ contains (as of writing) some
88helpful Twig extensions that are not part of the Twig core. They add
9- useful functions for internationalization, working with Arrays and
9+ useful functions for internationalization, working with arrays and
1010dates. To learn more about these extensions, have a look at their
1111`documentation `_.
1212
@@ -40,7 +40,7 @@ Then, define the extension class as a service and tag it with the
4040
4141 # app/config/services.yml
4242 services :
43- twig_extension .intl :
43+ twig_extensions .intl :
4444 class : Twig_Extensions_Extension_Intl
4545 tags :
4646 - { name: twig.extension }
@@ -55,7 +55,7 @@ Then, define the extension class as a service and tag it with the
5555 http://symfony.com/schema/dic/services/services-1.0.xsd" >
5656
5757 <services >
58- <service id =" twig_extension .intl"
58+ <service id =" twig_extensions .intl"
5959 class =" Twig_Extensions_Extension_Intl" >
6060 <tag name =" twig.extension" />
6161 </service >
@@ -68,7 +68,7 @@ Then, define the extension class as a service and tag it with the
6868 use \Twig_Extensions_Extension_Intl;
6969
7070 $container
71- ->register('twig_extension .intl', Twig_Extensions_Extension_Intl::class)
71+ ->register('twig_extensions .intl', Twig_Extensions_Extension_Intl::class)
7272 ->addTag('twig.extension');
7373
7474 And that's it! For example, you should now be able to use the
@@ -84,10 +84,9 @@ Learning further
8484
8585In the :doc: `reference section </reference/twig_reference >`, you can
8686find all the extra Twig functions, filters, tags and tests that are
87- added by the Symfony Framework.
87+ already added by the Symfony Framework.
8888
89- When that does not meet your particular needs, we also have
90- documentation on :doc: `how to write your own Twig extension </templating/twig_extension >`.
89+ We also have documentation on :doc: `how to write your own Twig extension </templating/twig_extension >`.
9190
9291.. _`Twig official extension repository` : https://github.com/twigphp/Twig-extensions
9392.. _`documentation` : http://twig-extensions.readthedocs.io/
0 commit comments