ResolvedFormTypeFactory

ResolvedFormTypeFactory

class ResolvedFormTypeFactory implements ResolvedFormTypeFactoryInterface

Methods

ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null)

Resolves a form type.

Details

ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null)

Resolves a form type.

Parameters

FormTypeInterface $type
array $typeExtensions
ResolvedFormTypeInterface $parent

Return Value

ResolvedFormTypeInterface

Exceptions

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.
http://api.symfony.com/3.3/Symfony/Component/Form/ResolvedFormTypeFactory.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部