ResolvedFormTypeFactory
class ResolvedFormTypeFactory implements ResolvedFormTypeFactoryInterface
Методы
| 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/2.7/Symfony/Component/Form/ResolvedFormTypeFactory.html