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

Ajout du filtre "indent" pour les templates Twig.

Showing with 1 addition and 0 deletions
+1 -0
......@@ -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']),
];
}
......
Supports Markdown
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