Home
last modified time | relevance | path

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

/template/twigstarter/vendor/twig/twig/lib/Twig/
H A DSimpleTest.php12 use Twig\TwigTest; alias
17 class_exists(TwigTest::class);
23 final class Twig_SimpleTest extends TwigTest
H A DTest.php3 use Twig\TwigTest; alias
11 class Twig_Test extends TwigTest
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DExtensionInterface.php18 use Twig\TwigTest; alias
51 * @return TwigTest[]
H A DStagingExtension.php18 use Twig\TwigTest; alias
87 public function addTest(TwigTest $test)
H A DCoreExtension.php73 use Twig\TwigTest; alias
279 new TwigTest('even', null, ['node_class' => EvenTest::class]),
280 new TwigTest('odd', null, ['node_class' => OddTest::class]),
281 new TwigTest('defined', null, ['node_class' => DefinedTest::class]),
282 …new TwigTest('same as', null, ['node_class' => SameasTest::class, 'one_mandatory_argument' => true…
283 new TwigTest('none', null, ['node_class' => NullTest::class]),
284 new TwigTest('null', null, ['node_class' => NullTest::class]),
285 …new TwigTest('divisible by', null, ['node_class' => DivisiblebyTest::class, 'one_mandatory_argumen…
286 new TwigTest('constant', null, ['node_class' => ConstantTest::class]),
287 new TwigTest('empty', 'twig_test_empty'),
[all …]
/template/twigstarter/vendor/twig/twig/src/
H A DExtensionSet.php344 public function addTest(TwigTest $test)
354 * @return TwigTest[]
366 * @return TwigTest|false
H A DTwigTest.php25 class TwigTest class
H A DEnvironment.php821 public function addTest(TwigTest $test)
829 * @return TwigTest[]
843 * @return TwigTest|false
H A DExpressionParser.php738 private function getTestNodeClass(TwigTest $test): string
/template/twigstarter/vendor/twig/twig/src/Test/
H A DIntegrationTestCase.php22 use Twig\TwigTest; alias
70 * @return TwigTest[]
/template/twigstarter/vendor/twig/twig/doc/
H A Ddeprecated.rst55 * ``Twig\TwigTest``
108 3.0. Use ``Twig\TwigFilter``, ``Twig\TwigFunction``, and ``Twig\TwigTest``
H A Dadvanced.rst299 to create an instance of ``\Twig\TwigTest``::
302 $test = new \Twig\TwigTest('test_name', function () {
312 $test = new \Twig\TwigTest('red', function ($value) {
333 use Twig\TwigTest;
336 $test = new TwigTest(
609 * @return \Twig\TwigTest[]
761 new \Twig\TwigTest('even', 'twig_test_even'),