You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// $env->addFunction(new \Twig_SimpleFunction('reverse', function ($theString) {
22
-
// return strrev($theString);
23
-
// }));
24
-
25
-
26
-
// $env->addExtension(new \My\CustomExtension());
27
-
28
-
// `{{ foo }}` => `bar`
29
-
// $env->addGlobal('foo', 'bar');
30
-
31
-
// example of enabling the Twig debug mode extension (ex. {{ dump(my_variable) }} to check out the template's available data) -- comment out to disable
0 commit comments