| 1 | <?php |
||
| 11 | class Pages extends BaseCollection |
||
| 12 | { |
||
| 13 | /** @var IPage[] */ |
||
| 14 | protected $components = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return IPage |
||
| 18 | * @throws LogicException |
||
| 19 | */ |
||
| 20 | 5 | public function current() |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param int|null $offset |
||
| 32 | * @param IPage $value |
||
| 33 | * |
||
| 34 | * @throws InvalidArgumentException |
||
| 35 | */ |
||
| 36 | 12 | public function offsetSet($offset, $value) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @param int $offset |
||
| 45 | * |
||
| 46 | * @return IPage|null |
||
| 47 | * @throws LogicException |
||
| 48 | */ |
||
| 49 | 1 | public function offsetGet($offset) |
|
| 58 | } |
||
| 59 |