$name
$name :
Represents a template test.
__construct(string $name, callable|null $callable = null, array $options = array())
Creates a template test.
string | $name | Name of this test |
callable|null | $callable | A callable implementing the test. If null, you need to overwrite the "node_class" option to customize compilation. |
array | $options | Options array |
<?php
namespace Twig;
class_exists('Twig_SimpleTest');
if (\false) {
class TwigTest extends \Twig_SimpleTest
{
}
}