Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class Bar |
||
12 | { |
||
13 | /** |
||
14 | * @ORM\Id |
||
15 | * @ORM\GeneratedValue |
||
16 | * @ORM\Column(type="integer") |
||
17 | */ |
||
18 | private $id; |
||
|
|||
19 | |||
20 | /** |
||
21 | * @ORM\ManyToOne(targetEntity=Foo::class, inversedBy="oneToMany") |
||
22 | */ |
||
23 | private $foo; |
||
24 | |||
25 | public function getFoo(): ?Foo |
||
28 | } |
||
29 | |||
30 | public function setFoo(?Foo $foo): self |
||
37 |