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

Please login to continue.