FormFactoryBuilderInterface
interface FormFactoryBuilderInterface
A builder for FormFactoryInterface objects.
Methods
Sets the factory for creating ResolvedFormTypeInterface instances.
Adds a list of extensions to be loaded by the factory.
Adds a list of form types to the factory.
Adds a form type extension to the factory.
Adds a list of form type extensions to the factory.
Adds a list of type guessers to the factory.
Builds and returns the factory.
Details
at line line 28
FormFactoryBuilderInterface
setResolvedTypeFactory(ResolvedFormTypeFactoryInterface $resolvedTypeFactory)
Sets the factory for creating ResolvedFormTypeInterface instances.
at line line 37
FormFactoryBuilderInterface
addExtension(FormExtensionInterface $extension)
Adds an extension to be loaded by the factory.
at line line 46
FormFactoryBuilderInterface
addExtensions(array $extensions)
Adds a list of extensions to be loaded by the factory.
at line line 55
FormFactoryBuilderInterface
addType(FormTypeInterface $type)
Adds a form type to the factory.
at line line 64
FormFactoryBuilderInterface
addTypes(array $types)
Adds a list of form types to the factory.
at line line 73
FormFactoryBuilderInterface
addTypeExtension(FormTypeExtensionInterface $typeExtension)
Adds a form type extension to the factory.
at line line 82
FormFactoryBuilderInterface
addTypeExtensions(array $typeExtensions)
Adds a list of form type extensions to the factory.
at line line 91
FormFactoryBuilderInterface
addTypeGuesser(FormTypeGuesserInterface $typeGuesser)
Adds a type guesser to the factory.
at line line 100
FormFactoryBuilderInterface
addTypeGuessers(array $typeGuessers)
Adds a list of type guessers to the factory.
at line line 107
FormFactoryInterface
getFormFactory()
Builds and returns the factory.