mediatekformation

ResolvedFormTypeFactoryInterface

Creates ResolvedFormTypeInterface instances.

This interface allows you to use your custom ResolvedFormTypeInterface implementation, within which you can customize the concrete FormBuilderInterface implementations or FormView subclasses that are used by the framework.

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

createResolvedType()  : ResolvedFormTypeInterface
Resolves a form type.

Methods

createResolvedType()

Resolves a form type.

public createResolvedType(FormTypeInterface $type, array<string|int, FormTypeExtensionInterface$typeExtensions[, ResolvedFormTypeInterface $parent = null ]) : ResolvedFormTypeInterface
Parameters
$type : FormTypeInterface
$typeExtensions : array<string|int, FormTypeExtensionInterface>
$parent : ResolvedFormTypeInterface = null
Tags
throws
UnexpectedTypeException

if the types parent is not a string

throws
InvalidArgumentException

if the types parent can not be retrieved from any extension

Return values
ResolvedFormTypeInterface

Search results