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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.