]> Raphaël G. Git Repositories - blogbundle/commitdiff
Add twig translation extension
authorRaphaël Gertz <git@rapsys.eu>
Sun, 25 Feb 2018 05:20:33 +0000 (06:20 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 25 Feb 2018 05:21:11 +0000 (06:21 +0100)
Resources/config/services.yml

index 992dbfe69455eeb0ad9a09fea1d800ca80a510f6..6ce718f370c2995d7c559f8d2ebc1ebf13001754 100644 (file)
@@ -1,4 +1,4 @@
 services:
-#    blog.example:
-#        class: BlogBundle\Example
-#        arguments: ["@service_id", "plain_value", "%parameter%"]
+    twig.extension.intl:
+        class: Twig_Extensions_Extension_Intl
+        tags: [ twig.extension ]