1 | <?php |
||
11 | class Cells extends BaseCollection |
||
12 | { |
||
13 | const HEAD = 'thead'; |
||
14 | |||
15 | /** @var ICell[] */ |
||
16 | protected $components = []; |
||
17 | |||
18 | /** |
||
19 | * @return ICell |
||
20 | * @throws LogicException |
||
21 | */ |
||
22 | 5 | public function current() |
|
31 | |||
32 | /** |
||
33 | * @param int|null $offset |
||
34 | * @param ICell $value |
||
35 | * |
||
36 | * @throws InvalidArgumentException |
||
37 | */ |
||
38 | 12 | public function offsetSet($offset, $value) |
|
44 | |||
45 | /** |
||
46 | * @param int $offset |
||
47 | * |
||
48 | * @return ICell|null |
||
49 | * @throws LogicException |
||
50 | */ |
||
51 | 1 | public function offsetGet($offset) |
|
60 | } |
||
61 |