| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | #[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD)] |
||
| 14 | final class Dictionary extends Constraint |
||
| 15 | { |
||
| 16 | public string $name; |
||
| 17 | |||
| 18 | public string $message = "The key {{ key }} doesn't exist in the given dictionary. {{ keys }} available."; |
||
| 19 | |||
| 20 | public function validatedBy(): string |
||
| 23 | } |
||
| 24 | |||
| 25 | 1 | /** |
|
| 26 | * @return array<string> |
||
| 27 | 1 | */ |
|
| 28 | public function getRequiredOptions(): array |
||
| 33 |