Home
last modified time | relevance | path

Searched refs:TwigTest (Results 1 – 15 of 15) sorted by relevance

/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
H A DTestExpression.php15 use Twig\TwigTest; alias
37 if ($test instanceof TwigTest) {
40 if ($test instanceof \Twig_TestCallableInterface || $test instanceof TwigTest) {
43 if ($test instanceof TwigTest) {
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/
H A DSimpleTest.php3 use Twig\TwigTest; alias
8 class Twig_SimpleTest extends TwigTest
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DExtensionInterface.php19 use Twig\TwigTest; alias
61 * @return TwigTest[]
H A DCoreExtension.php33 use Twig\TwigTest; alias
238 new TwigTest('even', null, ['node_class' => '\Twig\Node\Expression\Test\EvenTest']),
239 new TwigTest('odd', null, ['node_class' => '\Twig\Node\Expression\Test\OddTest']),
240 … new TwigTest('defined', null, ['node_class' => '\Twig\Node\Expression\Test\DefinedTest']),
242 … new TwigTest('same as', null, ['node_class' => '\Twig\Node\Expression\Test\SameasTest']),
243 new TwigTest('none', null, ['node_class' => '\Twig\Node\Expression\Test\NullTest']),
244 new TwigTest('null', null, ['node_class' => '\Twig\Node\Expression\Test\NullTest']),
246 …new TwigTest('divisible by', null, ['node_class' => '\Twig\Node\Expression\Test\DivisiblebyTest']),
247 … new TwigTest('constant', null, ['node_class' => '\Twig\Node\Expression\Test\ConstantTest']),
248 new TwigTest('empty', 'twig_test_empty'),
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DIntegrationTest.php24 use Twig\TwigTest; alias
184 new TwigTest('multi word', [$this, 'is_multi_word']),
185 new TwigTest('test_*', [$this, 'dynamic_test']),
H A DEnvironmentTest.php26 use Twig\TwigTest; alias
582 new TwigTest('foo_test', 'foo_test'),
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DTestTest.php18 use Twig\TwigTest; alias
37 …$environment->addTest(new TwigTest('barbar', 'twig_tests_test_barbar', ['is_variadic' => true, 'ne…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/PHP53/
H A DTestInclude.php4 $env->addTest(new \Twig\TwigTest('anonymous', function () {}));
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DTwigTest.php21 class TwigTest class
H A DEnvironment.php1214 * @param string|TwigTest $name The test name or a \Twig_SimpleTest instance
1219 …if (!$name instanceof TwigTest && !($test instanceof TwigTest || $test instanceof \Twig_TestInterf…
1223 if ($name instanceof TwigTest) {
1579 if ($test instanceof TwigTest) {
H A DExpressionParser.php664 if ($test instanceof TwigTest && $test->isDeprecated()) {
679 if ($test instanceof TwigTest) {
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/
H A DIntegrationTestCase.php24 use Twig\TwigTest; alias
72 * @return TwigTest[]
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Ddeprecated.rst98 * As of Twig 1.x, use ``\Twig\TwigTest`` to add a test. The following classes
108 * As of Twig 2.x, the ``\Twig\TwigTest`` class is deprecated and will be
110 ``\Twig\TwigTest`` is just an alias for ``Twig_Test``.
H A Dadvanced.rst313 to create an instance of ``\Twig\TwigTest``::
316 $test = new \Twig\TwigTest('test_name', function () {
326 $test = new \Twig\TwigTest('red', function ($value) {
344 $test = new \Twig\TwigTest(
627 * @return \Twig\TwigTest[]
803 new \Twig\TwigTest('even', 'twig_test_even'),
H A Dadvanced_legacy.rst569 * @return \Twig\TwigTest[]