interface FormTypeGuesserInterface
TypeGuess|null | guessType(string $class, string $property) Returns a field guess for a property name of a class. | |
ValueGuess | 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. |
Returns a field guess for a property name of a class.
Returns a guess whether a property of a class is required.
Returns a guess about the field's maximum length.
Returns a guess about the field's pattern.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Form/FormTypeGuesserInterface.html