Merge pull request #723

This commit is contained in:
symfony-flex-server[bot]
2019-08-13 17:09:14 +00:00
committed by GitHub
6 changed files with 38 additions and 0 deletions
@@ -0,0 +1,6 @@
services:
ravenflux.twig.extension.env_in_twig:
class: RavenFlux\Twig\EnvInTwigExtension
tags:
-
name: twig.extension
+5
View File
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -0,0 +1,11 @@
services:
ravenflux.twig.extension.php_functions:
class: RavenFlux\Twig\PhpFunctionsExtension
arguments:
- #first argument are functions
- 'count'
- #second argument are filters
- 'nl2br'
tags:
-
name: twig.extension
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -0,0 +1,6 @@
services:
ravenflux.twig.extension.sort_functions:
class: RavenFlux\Twig\SortExtension
tags:
-
name: twig.extension
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}