ValidatorTypeGuesser::guessMaxLengthForConstraint()

ValueGuess|null guessMaxLengthForConstraint(Constraint $constraint)

Guesses a field's maximum length based on the given constraint.

Parameters

Constraint $constraint The constraint to guess for

Return Value

ValueGuess|null The guess for the maximum length
doc_Symfony
2016-10-28 06:36:53
Comments
Leave a Comment

Please login to continue.