$attributes Additional attributes
* @param list $attrGroups PHP attribute groups
*/
public function __construct(
array $consts,
array $attributes = [],
array $attrGroups = []
) {
$this->attributes = $attributes;
$this->attrGroups = $attrGroups;
$this->consts = $consts;
}
public function getSubNodeNames(): array {
return ['attrGroups', 'consts'];
}
public function getType(): string {
return 'Stmt_Const';
}
}