No Description

Do_.php 666B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace PhpParser\Node\Stmt;
  3. use PhpParser\Node;
  4. /**
  5. * @property Node\Expr $cond Condition
  6. * @property Node[] $stmts Statements
  7. */
  8. class Do_ extends Node\Stmt
  9. {
  10. /**
  11. * Constructs a do while node.
  12. *
  13. * @param Node\Expr $cond Condition
  14. * @param Node[] $stmts Statements
  15. * @param array $attributes Additional attributes
  16. */
  17. public function __construct(Node\Expr $cond, array $stmts = array(), array $attributes = array()) {
  18. parent::__construct(
  19. array(
  20. 'cond' => $cond,
  21. 'stmts' => $stmts,
  22. ),
  23. $attributes
  24. );
  25. }
  26. }