| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class CollectionEvent extends AbstractEntityEvent |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var iterable<EntityInterface> |
||
| 17 | */ |
||
| 18 | private iterable $collection = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return int |
||
| 22 | */ |
||
| 23 | public function getCount(): int |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return iterable<EntityInterface> |
||
| 34 | */ |
||
| 35 | public function getCollection(): iterable |
||
| 36 | { |
||
| 37 | return $this->collection; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param iterable<EntityInterface> $collection |
||
| 42 | */ |
||
| 43 | public function setCollection(iterable $collection): void |
||
| 46 | } |
||
| 47 | } |
||
| 48 |