No Description

HaltCompiler.php 606B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace PhpParser\Node\Stmt;
  3. use PhpParser\Node\Stmt;
  4. /**
  5. * @property string $remaining Remaining text after halt compiler statement.
  6. */
  7. class HaltCompiler extends Stmt
  8. {
  9. /**
  10. * Constructs a __halt_compiler node.
  11. *
  12. * @param string $remaining Remaining text after halt compiler statement.
  13. * @param array $attributes Additional attributes
  14. */
  15. public function __construct($remaining, array $attributes = array()) {
  16. parent::__construct(
  17. array(
  18. 'remaining' => $remaining,
  19. ),
  20. $attributes
  21. );
  22. }
  23. }