| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | trait IdTrait |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @ORM\Id |
||
| 30 | * @ORM\Column(type="uuid", unique=true) |
||
| 31 | * @ORM\GeneratedValue(strategy="CUSTOM") |
||
| 32 | * @ORM\CustomIdGenerator(class=UuidGenerator::class) |
||
| 33 | 74 | * @ApiProperty(readable=false) |
|
| 34 | */ |
||
| 35 | 74 | private UuidInterface $id; |
|
| 36 | 74 | ||
| 37 | public function getId(): UuidInterface |
||
| 42 |