1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2025-01-22 05:41:23 +01:00
PHP-Parser/lib/PhpParser/Node/Stmt/ClassConst.php

26 lines
572 B
PHP
Raw Normal View History

<?php
namespace PhpParser\Node\Stmt;
use PhpParser\Node;
2011-05-29 12:20:47 +02:00
/**
* @property Node\Const_[] $consts Constant declarations
2011-05-29 12:20:47 +02:00
*/
class ClassConst extends Node\Stmt
{
/**
* Constructs a class const list node.
*
* @param Node\Const_[] $consts Constant declarations
* @param array $attributes Additional attributes
*/
public function __construct(array $consts, array $attributes = array()) {
parent::__construct(
array(
'consts' => $consts,
),
$attributes
);
}
}