Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
27 | abstract class AbstractCommand implements Command |
||
28 | { |
||
29 | /** |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | #[Assert\NotBlank] |
||
34 | #[Assert\Type(type: 'string')] |
||
35 | #[Assert\Regex(pattern: '~^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$~i')] |
||
36 | public string $UUID = ""; |
||
37 | |||
38 | public function __toString(): string |
||
43 |