Searched refs:Twig (Results 26 – 50 of 626) sorted by last modified time
12345678910>>...26
14 Internally, Twig uses the PHP `asort`_ function to maintain index
5 The date function has been added in Twig 1.6.8 The default timezone support has been added in Twig 1.6.1.43 $twig = new \Twig\Environment($loader);44 $twig->getExtension('\Twig\Extension\CoreExtension')->setTimezone('Europe/Paris');46 // before Twig 1.26
5 The ``dump`` function was added in Twig 1.5.18 ``\Twig\Extension\DebugExtension`` extension explicitly when creating your Twig21 $twig = new \Twig\Environment($loader, [25 $twig->addExtension(new \Twig\Extension\DebugExtension());61 Internally, Twig uses the PHP `var_dump`_ function.
5 The ``include`` function was added in Twig 1.12.40 And if the expression evaluates to a ``\Twig\Template`` or a41 ``\Twig\TemplateWrapper`` instance, Twig will use it directly::45 // deprecated as of Twig 1.2848 // as of Twig 1.2853 When you set the ``ignore_missing`` flag, Twig will return an empty string if
38 The Twig built-in ``..`` operator is just syntactic sugar for the ``range``
5 Horizontal reuse was added in Twig 1.1.9 Horizontal reuse is an advanced Twig feature that is hardly ever needed in13 Template inheritance is one of the most powerful features of Twig but it is37 The ``use`` statement tells Twig to import the blocks defined in84 The ``parent()`` support was added in Twig 1.3.108 In Twig 1.2, renaming allows you to simulate inheritance by calling the
5 The ``with`` tag was added in Twig 1.28.
1 Twig for Template Designers49 * *Textmate* via the `Twig bundle`_53 * *Eclipse* via the `Twig plugin`_54 * *Sublime Text* via the `Twig bundle`_62 * *Visual Studio Code* via the `Twig pack`_813 {# as of Twig 1.12.0 #}892 Twig can be easily extended.900 .. _`Twig bundle`: https://github.com/Anomareh/PHP-Twig.tmbundle904 .. _`Twig plugin`: https://github.com/pulse00/Twig-Eclipse-Plugin907 .. _`Twig syntax mode`: https://github.com/bobthecow/Twig-HTML.mode[all …]
5 The ``divisible by`` test was added in Twig 1.14.2 as an alias for
5 The iterable test was added in Twig 1.7.
3 ARG_ENABLE("twig", "Twig support", "no");
3 use Twig\Cache\FilesystemCache;
3 use Twig\Cache\NullCache;
3 use Twig\Cache\CacheInterface;
3 use Twig\Compiler;
3 use Twig\RuntimeLoader\ContainerRuntimeLoader;
3 use Twig\Environment;
3 use Twig\ExpressionParser;
3 use Twig\Error\LoaderError;
3 use Twig\Error\RuntimeError;
3 use Twig\Extension\EscaperExtension;
3 use Twig\Extension\GlobalsInterface;
3 use Twig\Extension\InitRuntimeInterface;
3 use Twig\Extension\OptimizerExtension;
3 use Twig\Extension\ProfilerExtension;