| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | final class FamilyLogs implements CollectionProtocol |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var FamilyLog[] |
||
| 22 | */ |
||
| 23 | private array $values; |
||
| 24 | |||
| 25 | public function __construct(FamilyLog ...$familyLogs) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getIterator(): \ArrayIterator |
||
| 31 | { |
||
| 32 | return new \ArrayIterator($this->values); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function toArray(): array |
||
| 38 | } |
||
| 39 | |||
| 40 | public function add(FamilyLog $familyLog): void |
||
| 45 |