1 | <?php |
||
7 | class Trait_ extends ClassLike |
||
8 | { |
||
9 | /** |
||
10 | * Constructs a trait node. |
||
11 | * |
||
12 | * @param string $name Name |
||
13 | * @param Node[] $stmts Statements |
||
14 | * @param array $attributes Additional attributes |
||
15 | */ |
||
16 | public function __construct($name, array $stmts = array(), array $attributes = array()) { |
||
17 | parent::__construct($attributes); |
||
18 | $this->name = $name; |
||
19 | $this->stmts = $stmts; |
||
20 | } |
||
21 | |||
22 | public function getSubNodeNames() { |
||
25 | } |
||
26 |