ValidatorTypeGuesser::guessRequiredForConstraint()

ValueGuess|null guessRequiredForConstraint(Constraint $constraint)

Guesses whether a field is required based on the given constraint.

Parameters

Constraint $constraint The constraint to guess for

Return Value

ValueGuess|null The guess whether the field is required
doc_Symfony
2016-10-28 06:36:54
Comments
Leave a Comment

Please login to continue.