Marks a configuration setting or parameter with validation constraints.
Can specify allowed values, ranges, or custom validation rules.
CloneableInstantiable
- Attributes
Attribute ( 56)
| Properties |
| public readonly ?array $allowedValues |
| public readonly ?int $max |
| public readonly ?string $message |
| public readonly ?int $min |
| public readonly ?string $pattern |
| Methods |
| public __construct(?array $allowedValues = NULL, ?int $min = NULL, ?int $max = NULL, ?string $pattern = NULL, ?string $message = NULL) |