| 1 | <?php |
||
| 10 | abstract class CollectionDto implements IteratorAggregate, Countable, ArrayAccess |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | public $items; |
||
| 16 | |||
| 17 | 11 | protected function __construct(string $class, array $items) |
|
| 23 | |||
| 24 | 2 | public function count(): int |
|
| 28 | |||
| 29 | public function offsetExists($offset) |
||
| 33 | |||
| 34 | 1 | public function offsetGet($offset) |
|
| 38 | |||
| 39 | public function offsetSet($offset, $value) |
||
| 43 | |||
| 44 | public function offsetUnset($offset) |
||
| 48 | } |
||
| 49 |