Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
10 | abstract class Entity |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | * |
||
15 | * @ORM\Id() |
||
16 | * @ORM\Column(type="string", length=36) |
||
17 | */ |
||
18 | private $id; |
||
19 | |||
20 | /** |
||
21 | * @param string $id |
||
22 | */ |
||
23 | public function __construct(string $id) |
||
24 | { |
||
25 | $this->id = $id; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getId(): string |
||
34 | } |
||
35 | } |
||
36 |