Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Validator] Support \DateInterval in comparison constraints #33401
That feature allows to use the
/** * @GreaterThan("+30 seconds") */ private $foo; /** * @Range(min="6 months", max="10 years") */ private $bar;
Edit : waiting for other related PRs to be treated before resynchronizing everything on this one.