Spec-Zone.ru › Symfony 3.4

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API