| 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_binary_ordered_time", unique=true) |
||
| 31 | * @ORM\GeneratedValue(strategy="CUSTOM") |
||
| 32 | * @ORM\CustomIdGenerator(class=UuidOrderedTimeGenerator::class) |
||
| 33 | * @ApiProperty(readable=false) |
||
| 34 | */ |
||
| 35 | protected UuidInterface $id; |
||
| 36 | |||
| 37 | 3 | public function getId(): UuidInterface |
|
| 42 |