class ResolvedFormTypeFactory implementsResolvedFormTypeFactoryInterface

Methods

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 cannot be retrieved from any extension