e6cfa9a357
This PR was merged into the 3.3-dev branch.
Discussion
----------
[Validator] support DateTimeInterface instances for times
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
The same has already been done for the `Date` and `DateTime` constraints in #18759.
Commits
-------
|
||
---|---|---|
.. | ||
Constraints | ||
Context | ||
Exception | ||
Mapping | ||
Resources/translations | ||
Test | ||
Tests | ||
Util | ||
Validator | ||
Violation | ||
.gitignore | ||
CHANGELOG.md | ||
composer.json | ||
Constraint.php | ||
ConstraintValidator.php | ||
ConstraintValidatorFactory.php | ||
ConstraintValidatorFactoryInterface.php | ||
ConstraintValidatorInterface.php | ||
ConstraintViolation.php | ||
ConstraintViolationInterface.php | ||
ConstraintViolationList.php | ||
ConstraintViolationListInterface.php | ||
GroupSequenceProviderInterface.php | ||
LICENSE | ||
ObjectInitializerInterface.php | ||
phpunit.xml.dist | ||
README.md | ||
Validation.php | ||
ValidatorBuilder.php | ||
ValidatorBuilderInterface.php |
Validator Component
The Validator component provides tools to validate values following the JSR-303 Bean Validation specification.