No Description

Const_.php 562B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace PhpParser\Node\Stmt;
  3. use PhpParser\Node;
  4. /**
  5. * @property Node\Const_[] $consts Constant declarations
  6. */
  7. class Const_ extends Node\Stmt
  8. {
  9. /**
  10. * Constructs a const list node.
  11. *
  12. * @param Node\Const_[] $consts Constant declarations
  13. * @param array $attributes Additional attributes
  14. */
  15. public function __construct(array $consts, array $attributes = array()) {
  16. parent::__construct(
  17. array(
  18. 'consts' => $consts,
  19. ),
  20. $attributes
  21. );
  22. }
  23. }