| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE), NamedArgumentConstructor] |
||
| 20 | final class Uuid7 extends Uuid |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @param non-empty-string $field Uuid property name |
||
|
|
|||
| 24 | * @param non-empty-string|null $column Uuid column name |
||
| 25 | * @param bool $nullable Indicates whether to generate a new UUID or not |
||
| 26 | * |
||
| 27 | * @see \Ramsey\Uuid\UuidFactoryInterface::uuid7() |
||
| 28 | */ |
||
| 29 | public function __construct( |
||
| 37 | } |
||
| 38 | |||
| 39 | protected function getListenerClass(): string |
||
| 42 | } |
||
| 43 | |||
| 44 | #[ArrayShape(['field' => 'string', 'nullable' => 'bool'])] |
||
| 53 |