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.
string | $class | The fully qualified class name |
string | $property | The name of the property to guess for |
TypeGuess|null | A guess for the field's type and options |
Returns a guess whether a property of a class is required.
string | $class | The fully qualified class name |
string | $property | The name of the property to guess for |
ValueGuess | A guess for the field's required setting |
Returns a guess about the field's maximum length.
string | $class | The fully qualified class name |
string | $property | The name of the property to guess for |
ValueGuess|null | A guess for the field's maximum length |
Returns a guess about the field's pattern.
string | $class | The fully qualified class name |
string | $property | The name of the property to guess for |
ValueGuess|null | A guess for the field's required pattern |
https://github.com/symfony/symfony/pull/3927 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/FormTypeGuesserInterface.html