| 1 | <?php |
||
| 25 | final class NamespaceStmtCollection implements IteratorAggregate, Countable |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var Namespace_[] |
||
| 29 | */ |
||
| 30 | private $nodes = []; |
||
| 31 | |||
| 32 | public function add(Namespace_ $node) |
||
| 36 | |||
| 37 | public function getNamespaceName(): Name |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritdoc |
||
| 52 | */ |
||
| 53 | public function count(): int |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @inheritdoc |
||
| 60 | */ |
||
| 61 | public function getIterator() |
||
| 65 | } |
||
| 66 |