No Description

Static_.php 558B

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