mirror of
https://github.com/Respect/Validation.git
synced 2026-03-18 08:09:51 +01:00
When calling `v::validatorName()`, a `ValidatorBuilder` is instantiated to manage the validation chain. However, users generally expect the ID to reflect the specific validator invoked rather than the internal builder class. This commit updates `Id::fromValidator()` to resolve the ID from the underlying validator when it is the sole member of the `ValidatorBuilder`, ensuring more intuitive identification. |
||
|---|---|---|
| .. | ||
| Exceptions | ||
| Helpers | ||
| Message | ||
| Transformers | ||
| Validators | ||
| ContainerRegistryTest.php | ||
| IdTest.php | ||
| NamespacedRuleFactoryTest.php | ||
| ResultQueryTest.php | ||
| ValidatorTest.php | ||