| Total Complexity | 1 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | class ComponentPosition |
||
| 32 | { |
||
| 33 | use IdTrait; |
||
| 34 | use TimestampedTrait; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @Assert\NotNull() |
||
| 38 | */ |
||
| 39 | public ComponentCollection $componentCollection; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @Assert\NotNull() |
||
| 43 | */ |
||
| 44 | public AbstractComponent $component; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @Assert\NotNull() |
||
| 48 | */ |
||
| 49 | public int $sortValue = 0; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return Collection|AbstractComponent[]|null |
||
| 53 | */ |
||
| 54 | public function getSortCollection(): ?Collection |
||
| 59 |