Вход Регистрация
Файл: symfony-2.7/src/Symfony/Component/ExpressionLanguage/Tests/Node/NameNodeTest.php
Строк: 30
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace SymfonyComponentExpressionLanguageTestsNode;

use 
SymfonyComponentExpressionLanguageNodeNameNode;

class 
NameNodeTest extends AbstractNodeTest
{
    public function 
getEvaluateData()
    {
        return array(
            array(
'bar', new NameNode('foo'), array('foo' => 'bar')),
        );
    }

    public function 
getCompileData()
    {
        return array(
            array(
'$foo', new NameNode('foo')),
        );
    }
}
Онлайн: 1
Реклама