interface ResolvedFormTypeFactoryInterface
Creates ResolvedFormTypeInterface instances.
This interface allows you to use your custom ResolvedFormTypeInterface implementation, within which you can customize the concrete FormBuilderInterface implementations or FormView subclasses that are used by the framework.
ResolvedFormTypeInterface | createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Resolves a form type. |
Resolves a form type.
FormTypeInterface | $type | |
array | $typeExtensions | |
ResolvedFormTypeInterface | $parent |
ResolvedFormTypeInterface |
UnexpectedTypeException | if the types parent {@link FormTypeInterface::getParent()} is not a string |
InvalidArgumentException | if the types parent can not be retrieved from any extension |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/ResolvedFormTypeFactoryInterface.html