1 <?php declare(strict_types=1);
3 namespace PhpParser\Node\Stmt;
7 class Const_ extends Node\Stmt
9 /** @var Node\Const_[] Constant declarations */
13 * Constructs a const list node.
15 * @param Node\Const_[] $consts Constant declarations
16 * @param array $attributes Additional attributes
18 public function __construct(array $consts, array $attributes = []) {
19 parent::__construct($attributes);
20 $this->consts = $consts;
23 public function getSubNodeNames() : array {
27 public function getType() : string {