ResolvedFormTypeFactoryInterface
интерфейс ResolvedFormTypeFactoryInterface
Создаёт экземпляры ResolvedFormTypeInterface.
Этот интерфейс позволяет использовать собственную реализацию ResolvedFormTypeInterface, в рамках которой можно настроить конкретные реализации FormBuilderInterface или подклассы FormView, используемые фреймворком.
Методы
| ResolvedFormTypeInterface | createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Решает тип формы. |
Подробности
ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null)
Решает тип формы.
Параметры
| FormTypeInterface | $type | |
| array | $typeExtensions | |
| ResolvedFormTypeInterface | $parent |
Возвращаемое значение
| ResolvedFormTypeInterface |
Исключения
| UnexpectedTypeException | если тип родителя {@link FormTypeInterface::getParent()} не является строкой |
| InvalidArgumentException | если тип родителя не может быть получен ни от одного расширения |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Form/ResolvedFormTypeFactoryInterface.html