adding twig helper for routing and more

This commit is contained in:
2019-05-02 23:11:09 +02:00
parent 18463fb18a
commit 45a5583ab8
10 changed files with 226 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
services:
Chill\MainBundle\Templating\ChillTwigHelper:
tags:
- { name: twig.extension }
Chill\MainBundle\Templating\ChillTwigRoutingHelper:
arguments:
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
$originalExtension: '@twig.extension.routing'
tags:
- { name: twig.extension }