| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 30 | class HydrableObjectCollection implements HydrableObjectCollectionInterface |
||
| 31 | { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * The collection objects |
||
| 35 | * |
||
| 36 | * @var HydrableObjectInterface[] |
||
| 37 | */ |
||
| 38 | private array $objects = []; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritDoc} |
||
| 42 | */ |
||
| 43 | 3 | final public function add(HydrableObjectInterface $object) |
|
| 56 | 2 | } |
|
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritDoc} |
||
| 60 | */ |
||
| 61 | 2 | final public function getIterator() : Traversable |
|
| 66 |