Lines Matching refs:will
4 This chapter describes the API to Twig and not the template language. It will
16 Most applications will create one ``\Twig\Environment`` object on application
32 This will create a template environment with the default settings and a loader
115 the ``auto_reload`` option, it will be determined automatically based on the
120 If set to ``false``, Twig will silently ignore invalid
127 If set to ``true``, HTML auto-escaping will be enabled by
188 With such a configuration, Twig will first look for templates in
189 ``$templateDir1`` and if they do not exist, it will fallback to look for them
265 When looking for a template, Twig will try each loader in turn and it will
267 template from the above example, Twig will load it with ``$loader2`` but the
268 ``base.html`` template will be loaded from ``$loader1``.
417 {{ text }} {# will be escaped #}
427 {{ foo ? text : "<br />Twig" }} {# will be escaped #}
445 {{ var|raw|upper }} {# will be escaped #}
457 {{ var|escape('html') }} {# will be escaped for HTML and JavaScript #}
458 {{ var }} {# will be escaped for JavaScript #}
490 With the previous configuration, the security policy will only allow usage of
491 the ``if`` tag, and the ``upper`` filter. Moreover, the templates will only be
494 won't be allowed and will generate a ``\Twig\Sandbox\SecurityError`` exception.