Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
18 | abstract class AbstractNavigation extends AbstractComponent |
||
19 | { |
||
20 | /** |
||
21 | * @ORM\ManyToOne(targetEntity="Silverback\ApiComponentBundle\Entity\Content\ComponentGroup\ComponentGroup", cascade={"persist"}) |
||
22 | * @ORM\JoinColumn(nullable=true, onDelete="SET NULL") |
||
23 | * @ApiProperty(attributes={"fetchEager": false}) |
||
24 | * @Groups({"default"}) |
||
25 | * @var ComponentGroup |
||
26 | */ |
||
27 | protected $childComponentGroup; |
||
28 | |||
29 | public function __construct() |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return \Silverback\ApiComponentBundle\Entity\Content\ComponentGroup\ComponentGroup |
||
37 | */ |
||
38 | public function getChildComponentGroup(): ComponentGroup |
||
43 |