/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/ |
H A D | grammarTest.php | 27 …$twig = new Twig_Environment(new Twig_Loader_Array(array('template' => $template)), array('cache' … 28 $twig->addExtension(new Twig_Extension_Debug()); 29 $twig->addTokenParser(new SimpleTokenParser($tag, $grammar)); 33 $template = $twig->loadTemplate('template');
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/embed/ |
H A D | with_extends.test | 4 {% extends "base.twig" %} 14 {% embed "foo.twig" %} 22 --TEMPLATE(base.twig)-- 31 --TEMPLATE(foo.twig)--
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/ |
H A D | parent_block.test | 4 {% use 'file2.html.twig' with foobar as base_base_foobar %} 9 --TEMPLATE(file2.html.twig)-- 10 {% use 'file1.html.twig' with foobar as base_foobar %} 15 --TEMPLATE(file1.html.twig)--
|
/plugin/findologicxmlexport/vendor/twig/twig/ext/twig/ |
H A D | config.w32 | 3 ARG_ENABLE("twig", "Twig support", "no"); 7 EXTENSION('twig', 'twig.c');
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/ |
H A D | extends_as_array.test | 4 {% extends ["foo.twig", "bar.twig"] %} 5 --TEMPLATE(bar.twig)--
|
H A D | template_instance.test | 9 --TEMPLATE(foo.twig)-- 12 return ['foo' => $twig->load('foo.twig')]
|
H A D | parent_as_template_wrapper.test | 7 --TEMPLATE(foo.twig)-- 10 return ['foo' => $twig->load('foo.twig')]
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/ |
H A D | missing.test | 4 {{ include("foo.twig") }} 8 Twig\Error\LoaderError: Template "foo.twig" is not defined in "index.twig" at line 2.
|
H A D | template_instance.test | 5 --TEMPLATE(foo.twig)-- 8 return ['foo' => $twig->load('foo.twig')]
|
H A D | with_variables.test | 4 {{ include("foo.twig", {'foo': 'bar'}) }} 5 {{- include("foo.twig", vars) }} 6 --TEMPLATE(foo.twig)--
|
H A D | sandbox_disabling_ignore_missing.test | 4 {{ include("unknown.twig", sandboxed = true, ignore_missing = true) }} 5 {{ include("bar.twig") }} 6 --TEMPLATE(bar.twig)--
|
H A D | sandbox.test | 4 {{ include("foo.twig", sandboxed = true) }} 5 --TEMPLATE(foo.twig)-- 13 Twig\Sandbox\SecurityNotAllowedFilterError: Filter "e" is not allowed in "foo.twig" at line 4.
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/ |
H A D | missing.test | 4 {% include "foo.twig" %} 8 Twig\Error\LoaderError: Template "foo.twig" is not defined in "index.twig" at line 2.
|
H A D | template_instance.test | 5 --TEMPLATE(foo.twig)-- 8 return ['foo' => $twig->load('foo.twig')]
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/ |
H A D | from.test | 4 {% include "included.twig" %} 5 {% from "included.twig" import foobar %} 7 --TEMPLATE(included.twig)--
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/ |
H A D | recipes.rst | 21 $twig = create_your_twig_env(); 119 {# page.twig #} 120 {% extends "layout.twig" %} 164 $twig = new \Twig\Environment(); 172 $twig->setLexer($lexer); 309 $twig->parse($twig->tokenize(new \Twig\Source($template))); 321 $twig->parse($twig->tokenize(new \Twig\Source($template, $file->getFilename(), $file))); 408 {% extends "base.twig" %} 416 ``base.twig`` and ``index.twig``. 482 echo $twig->render('index.twig', ['name' => 'Fabien']); [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/ |
H A D | not_valid1.test | 5 {%- include "foo.twig" %} 8 --TEMPLATE(foo.twig)-- 11 Twig\Error\SyntaxError: Only "include" tags are allowed within a "sandbox" section in "index.twig" …
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/ |
H A D | ModuleTest.php | 45 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()); 114 , $twig, true]; 191 , $twig, true]; 202 …$twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['debug'… 264 , $twig, true];
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Util/ |
H A D | DeprecationCollectorTest.php | 23 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()); 24 $twig->addFunction(new TwigFunction('deprec', [$this, 'deprec'], ['deprecated' => true])); 26 $collector = new DeprecationCollector($twig);
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/ |
H A D | deprecated.rst | 12 {# base.twig #} 13 {% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %} 14 {% extends 'layout.twig' %}
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/ |
H A D | from_with_reserved_name.test | 4 {% from 'forms.twig' import templateName %} 5 --TEMPLATE(forms.twig)-- 9 …: "templateName" cannot be an imported macro as it is a reserved keyword in "index.twig" at line 2.
|
H A D | import_with_reserved_nam.test | 4 {% import 'forms.twig' as macros %} 7 --TEMPLATE(forms.twig)-- 11 …taxError: "parent" cannot be called as macro as it is a reserved keyword in "index.twig" at line 4.
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/ |
H A D | syntax_error_in_reused_template.test | 4 {% use 'foo.twig' %} 5 --TEMPLATE(foo.twig)-- 10 …expected token "operator" of value "=" ("end of statement block" expected) in "foo.twig" at line 3.
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/ |
H A D | ParserTest.php | 132 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), [ 136 $twig->addTokenParser(new TestTokenParser()); 138 $parser = new Parser($twig); 155 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), [ 160 $twig->parse($twig->tokenize(new Source(<<<EOF
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/ |
H A D | block_without_name.test | 4 {% extends 'base.twig' %} 6 --TEMPLATE(base.twig)-- 12 Twig\Error\SyntaxError: The "block" function takes one argument (the block name) in "base.twig" at …
|