Symfony\Component\Form\ResolvedFormTypeFactoryInterface::createResolvedType
Resolves a form type.
Signature
public function createResolvedType(FormTypeInterface
$type,
[ResolvedFormTypeInterface
$typeExtensions = null,
[ResolvedFormTypeInterface
$parent = null]] )
Parameters
$type
— Symfony\Component\Form\FormTypeInterface
$typeExtensions
— array$parent
— Symfony\Component\Form\ResolvedFormTypeInterface
Returns
- ResolvedFormTypeInterface
Errors/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