FormTypeGuesserInterface
interface FormTypeGuesserInterface
Methods
TypeGuess|null
guessType(string$class,string$property)
Returns a field guess for a property name of a class.
ValueGuess|null
guessRequired(string$class,string$property)
Returns a guess whether a property of a class is required.
ValueGuess|null
guessMaxLength(string$class,string$property)
Returns a guess about the field's maximum length.
ValueGuess|null
guessPattern(string$class,string$property)
Returns a guess about the field's pattern.
Details
TypeGuess|null
guessType(string$class,string$property)
Returns a field guess for a property name of a class.
ValueGuess|null
guessRequired(string$class,string$property)
Returns a guess whether a property of a class is required.