Spec-Zone.ru › Symfony 3.1

ResolvedFormTypeFactoryInterface

interface 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/2.7/Symfony/Component/Form/ResolvedFormTypeFactoryInterface.html

Spec-Zone.ru

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