123 lines
2.3 KiB
YAML
123 lines
2.3 KiB
YAML
|
name: FormFactoryBuilderInterface
|
||
|
class_comment: null
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: setResolvedTypeFactory
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: resolvedTypeFactory
|
||
|
comment: '# * A builder for FormFactoryInterface objects.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Bernhard Schussek <bschussek@gmail.com>
|
||
|
|
||
|
# */
|
||
|
|
||
|
# interface FormFactoryBuilderInterface
|
||
|
|
||
|
# {
|
||
|
|
||
|
# /**
|
||
|
|
||
|
# * Sets the factory for creating ResolvedFormTypeInterface instances.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addExtension
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: extension
|
||
|
comment: '# * Adds an extension to be loaded by the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addExtensions
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: extensions
|
||
|
comment: '# * Adds a list of extensions to be loaded by the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param FormExtensionInterface[] $extensions The extensions
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addType
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: type
|
||
|
comment: '# * Adds a form type to the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addTypes
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: types
|
||
|
comment: '# * Adds a list of form types to the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param FormTypeInterface[] $types The form types
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addTypeExtension
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: typeExtension
|
||
|
comment: '# * Adds a form type extension to the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addTypeExtensions
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: typeExtensions
|
||
|
comment: '# * Adds a list of form type extensions to the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param FormTypeExtensionInterface[] $typeExtensions The form type extensions
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addTypeGuesser
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: typeGuesser
|
||
|
comment: '# * Adds a type guesser to the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: addTypeGuessers
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: typeGuessers
|
||
|
comment: '# * Adds a list of type guessers to the factory.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param FormTypeGuesserInterface[] $typeGuessers The type guessers
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: getFormFactory
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Builds and returns the factory.'
|
||
|
traits: []
|
||
|
interfaces: []
|