ArgumentsNodeTest.php 750 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\ExpressionLanguage\Tests\Node;
  11. use Symfony\Component\ExpressionLanguage\Node\ArgumentsNode;
  12. class ArgumentsNodeTest extends ArrayNodeTest
  13. {
  14. public function getCompileData()
  15. {
  16. return [
  17. ['"a", "b"', $this->getArrayNode()],
  18. ];
  19. }
  20. public function getDumpData()
  21. {
  22. return [
  23. ['"a", "b"', $this->getArrayNode()],
  24. ];
  25. }
  26. protected function createArrayNode()
  27. {
  28. return new ArgumentsNode();
  29. }
  30. }