Total Complexity | 1 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
29 | class ComponentPosition |
||
30 | { |
||
31 | use IdTrait; |
||
32 | use TimestampedTrait; |
||
33 | |||
34 | public ComponentCollection $componentGroup; |
||
35 | |||
36 | /** |
||
37 | * @ApiProperty(writable=false) |
||
38 | */ |
||
39 | public AbstractComponent $component; |
||
40 | |||
41 | public ?int $sortValue = 0; |
||
42 | |||
43 | /** |
||
44 | * @return Collection|AbstractComponent[]|null |
||
45 | */ |
||
46 | public function getSortCollection(): ?Collection |
||
51 |