菜谱项目

Isset_.php 531B

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