Searched refs:twig (Results 1 – 10 of 10) sorted by relevance
236 $twig = new Environment($loader, $config);237 $twig->addGlobal('global', 'global');239 $twig->addRuntimeLoader($runtimeLoader);243 $twig->addExtension($extension);247 $twig->addFilter($filter);251 $twig->addTest($test);255 $twig->addFunction($function);259 $twig->registerUndefinedFilterCallback($callback);263 $twig->registerUndefinedFunctionCallback($callback);267 $twig->registerUndefinedTestCallback($callback);[all …]
24 private Environment $twig, argument67 $this->twig->parse($this->twig->tokenize(new Source($contents, $name)));
20 protected $twig; variable in dokuwiki\\template\\twigstarter\\TemplateController45 $this->twig = new Environment($loader, [80 echo $this->twig->render($this->view . '.twig', $data);
244 "name": "twig/twig",303 "homepage": "https://twig.symfony.com",317 "url": "https://tidelift.com/funding/github/packagist/twig/twig",
14 …<a href="https://docs.blackfire.io/introduction?utm_source=twig&utm_medium=github_readme&utm_campa…23 .. _documentation: https://twig.symfony.com/documentation
382 * Restores the leniency of the matches twig comparison391 * Add "twig *_names" intl functions
1 {% extends 'layout.twig' %}