Commit 1b1ceb47 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Ajout du filtre "indent" pour les templates Twig.

parent e21999c8
......@@ -36,6 +36,7 @@ class GeneratorExtension extends \Twig_Extension
return [
new \Twig_Filter('quoteString', [TypescriptHelper::class, 'quoteString'], ['is_safe' => true]),
new \Twig_Filter('objectKey', [TypescriptHelper::class, 'objectLiteralKey'], ['is_safe' => true]),
new \Twig_Filter('indent', [TypescriptHelper::class, 'indent']),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment