namespace Symfony\Component\ExpressionLanguage\Tests\Node;
use Symfony\Component\ExpressionLanguage\Node\ConstantNode;
use Symfony\Component\ExpressionLanguage\Node\FunctionNode;
use Symfony\Component\ExpressionLanguage\Node\Node;
class FunctionNodeTest extends AbstractNodeTestCase
{ public static function getEvaluateData(): array
{ return [ ['bar',
new FunctionNode('foo',
new Node([new ConstantNode('bar'
)])),
[],
['foo' =>
static::
getCallables()]],
];
} public static function getCompileData(): array
{ return [ ['foo("bar")',
new FunctionNode('foo',
new Node([new ConstantNode('bar'
)])),
['foo' =>
static::
getCallables()]],
];
} public static function getDumpData(): array
{