No Description

Exit_.php 536B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace PhpParser\Node\Expr;
  3. use PhpParser\Node\Expr;
  4. /**
  5. * @property null|Expr $expr Expression
  6. */
  7. class Exit_ extends Expr
  8. {
  9. /**
  10. * Constructs an exit() node.
  11. *
  12. * @param null|Expr $expr Expression
  13. * @param array $attributes Additional attributes
  14. */
  15. public function __construct(Expr $expr = null, array $attributes = array()) {
  16. parent::__construct(
  17. array(
  18. 'expr' => $expr
  19. ),
  20. $attributes
  21. );
  22. }
  23. }