Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser::guessMaxLengthForConstraint
Guesses a field's maximum length based on the given constraint
Signature
public function guessMaxLengthForConstraint(Constraint
$constraint )
Parameters
$constraint
— Symfony\Component\Validator\Constraint- The constraint to guess for
Returns
- Guess
- The guess for the maximum length