| 1 | <?php |
||
| 14 | class Template implements \IteratorAggregate |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string|null |
||
| 18 | */ |
||
| 19 | public $file; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Node[] |
||
| 23 | */ |
||
| 24 | public $nodes; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Node[] $nodes |
||
| 28 | * @param array $options |
||
| 29 | */ |
||
| 30 | public function __construct(array $nodes, array $options = []) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return Node[]|\ArrayIterator |
||
| 42 | */ |
||
| 43 | public function getIterator() |
||
| 47 | } |
||
| 48 |