Explorar o código

enable the twig debug tag

Igor Wiedler %!s(int64=13) %!d(string=hai) anos
pai
achega
a6e446aaf2
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      app/config/config.yml

+ 10 - 0
app/config/config.yml

@@ -66,3 +66,13 @@ fos_user:
 
 nelmio_solarium:
     adapter: ~
+
+services:
+    twig.extension.text:
+        class: Twig_Extensions_Extension_Text
+        tags:
+            - { name: twig.extension }
+    twig.extension.debug:
+        class: Twig_Extensions_Extension_Debug
+        tags:
+            - { name: twig.extension }