菜谱项目

Echo_.php 553B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace PhpParser\Node\Stmt;
  3. use PhpParser\Node;
  4. class Echo_ extends Node\Stmt
  5. {
  6. /** @var Node\Expr[] Expressions */
  7. public $exprs;
  8. /**
  9. * Constructs an echo node.
  10. *
  11. * @param Node\Expr[] $exprs Expressions
  12. * @param array $attributes Additional attributes
  13. */
  14. public function __construct(array $exprs, array $attributes = array()) {
  15. parent::__construct($attributes);
  16. $this->exprs = $exprs;
  17. }
  18. public function getSubNodeNames() {
  19. return array('exprs');
  20. }
  21. }