b645a6bfffd42b0ec046a7c19094dfeb68dec789
[yaffs-website] / vendor / symfony / expression-language / Tests / Node / NameNodeTest.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\ExpressionLanguage\Tests\Node;
13
14 use Symfony\Component\ExpressionLanguage\Node\NameNode;
15
16 class NameNodeTest extends AbstractNodeTest
17 {
18     public function getEvaluateData()
19     {
20         return array(
21             array('bar', new NameNode('foo'), array('foo' => 'bar')),
22         );
23     }
24
25     public function getCompileData()
26     {
27         return array(
28             array('$foo', new NameNode('foo')),
29         );
30     }
31 }