We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e95f36 commit d98467eCopy full SHA for d98467e
validation/custom_constraint.rst
@@ -60,6 +60,7 @@ The validator class is also simple, and only has one required method ``validate(
60
use Symfony\Component\Validator\Constraint;
61
use Symfony\Component\Validator\ConstraintValidator;
62
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
63
+ use Symfony\Component\Validator\Exception\UnexpectedValueException;
64
65
class ContainsAlphanumericValidator extends ConstraintValidator
66
{
0 commit comments