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