Lines Matching refs:as
10 This works as of Twig 1.21.
34 template names as keys and template contents as values (as done by
65 Working with Ajax means that the same content is sometimes displayed as is,
91 As a matter of fact, the template name can be any valid expression, such as
115 stored in ``.../templates/default`` reads as follows:
134 Of course, this will not work as Twig will always load the template from
159 recommended to use this feature as templates will be tied with your custom
279 // auto-register all native PHP functions as Twig functions
280 // don't try this at home as it's not secure at all!
319 foreach ($files as $file) {
336 is enforced during template rendering (as Twig needs the context for some
386 // reset the state as we are entering a new template
399 recipe gives you a simple PDO template loader you can use as a starting point
438 // \Twig\Loader\SourceContextLoaderInterface as of Twig 1.27
448 // \Twig\Loader\ExistsLoaderInterface as of Twig 1.11
493 same way as we would have done it with a regular filesystem loader. This is
509 remove it from the database, and everything else will still work as before.
515 ``template_from_string`` function (available as of Twig 1.11 via the
523 ``\Twig\Environment::createTemplate()`` (available as of Twig 1.18)::
536 practice as both AngularJS and Twig use the same delimiters in their syntax: