interface FormFactoryBuilderInterface
A builder for FormFactoryInterface objects.
Methods
FormFactoryBuilderInterface | setResolvedTypeFactory(ResolvedFormTypeFactoryInterface $resolvedTypeFactory) Sets the factory for creating ResolvedFormTypeInterface instances. | |
FormFactoryBuilderInterface | addExtension(FormExtensionInterface $extension) Adds an extension to be loaded by the factory. | |
FormFactoryBuilderInterface | addExtensions(array $extensions) Adds a list of extensions to be loaded by the factory. | |
FormFactoryBuilderInterface | addType(FormTypeInterface $type) Adds a form type to the factory. | |
FormFactoryBuilderInterface | addTypes(array $types) Adds a list of form types to the factory. | |
FormFactoryBuilderInterface | addTypeExtension(FormTypeExtensionInterface $typeExtension) Adds a form type extension to the factory. | |
FormFactoryBuilderInterface | addTypeExtensions(array $typeExtensions) Adds a list of form type extensions to the factory. | |
FormFactoryBuilderInterface | addTypeGuesser(FormTypeGuesserInterface $typeGuesser) Adds a type guesser to the factory. | |
FormFactoryBuilderInterface | addTypeGuessers(array $typeGuessers) Adds a list of type guessers to the factory. | |
FormFactoryInterface | getFormFactory() Builds and returns the factory. |
Details
FormFactoryBuilderInterface setResolvedTypeFactory(ResolvedFormTypeFactoryInterface $resolvedTypeFactory)
Sets the factory for creating ResolvedFormTypeInterface instances.
FormFactoryBuilderInterface addExtension(FormExtensionInterface $extension)
Adds an extension to be loaded by the factory.
FormFactoryBuilderInterface addExtensions(array $extensions)
Adds a list of extensions to be loaded by the factory.
FormFactoryBuilderInterface addType(FormTypeInterface $type)
Adds a form type to the factory.
FormFactoryBuilderInterface addTypes(array $types)
Adds a list of form types to the factory.
FormFactoryBuilderInterface addTypeExtension(FormTypeExtensionInterface $typeExtension)
Adds a form type extension to the factory.
FormFactoryBuilderInterface addTypeExtensions(array $typeExtensions)
Adds a list of form type extensions to the factory.
FormFactoryBuilderInterface addTypeGuesser(FormTypeGuesserInterface $typeGuesser)
Adds a type guesser to the factory.
FormFactoryBuilderInterface addTypeGuessers(array $typeGuessers)
Adds a list of type guessers to the factory.
FormFactoryInterface getFormFactory()
Builds and returns the factory.
Please login to continue.