mirror of
https://github.com/Respect/Validation.git
synced 2026-03-18 08:09:51 +01:00
It's easier to identify the reason for choosing a specific message in the rule than in the exception. The same goes for the key we use to determine the templates. This change will simplify the `ValidationException` because it will already receive the template it needs to use. As a consequence, the `Factory` also becomes more straightforward. Signed-off-by: Henrique Moody <henriquemoody@gmail.com> |
||
|---|---|---|
| .. | ||
| Exceptions | ||
| Helpers | ||
| Rules | ||
| FactoryTest.php | ||
| ValidatorTest.php | ||