Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class Row implements \IteratorAggregate |
||
8 | { |
||
9 | protected $panels = []; |
||
10 | |||
11 | public function panel(Panel $panel) |
||
12 | { |
||
13 | $this->panels[] = $panel; |
||
14 | |||
15 | return $panel; |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * Retrieve an external iterator. |
||
20 | * |
||
21 | * @see http://php.net/manual/en/iteratoraggregate.getiterator.php |
||
22 | * |
||
23 | * @return Traversable An instance of an object implementing <b>Iterator</b> or |
||
24 | * <b>Traversable</b> |
||
25 | * |
||
26 | * @since 5.0.0 |
||
27 | */ |
||
28 | public function getIterator() |
||
31 | } |
||
32 | } |
||
33 |