Break.php 581 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @property null|PHPParser_Node_Expr $num Number of loops to break
  4. */
  5. class PHPParser_Node_Stmt_Break extends PHPParser_Node_Stmt
  6. {
  7. /**
  8. * Constructs a break node.
  9. *
  10. * @param null|PHPParser_Node_Expr $num Number of loops to break
  11. * @param array $attributes Additional attributes
  12. */
  13. public function __construct(PHPParser_Node_Expr $num = null, array $attributes = array()) {
  14. parent::__construct(
  15. array(
  16. 'num' => $num,
  17. ),
  18. $attributes
  19. );
  20. }
  21. }