52 lines
1 KiB
YAML
52 lines
1 KiB
YAML
name: FormRegistryInterface
|
|
class_comment: null
|
|
dependencies: []
|
|
properties: []
|
|
methods:
|
|
- name: getType
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * The central registry of the Form component.
|
|
|
|
# *
|
|
|
|
# * @author Bernhard Schussek <bschussek@gmail.com>
|
|
|
|
# */
|
|
|
|
# interface FormRegistryInterface
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Returns a form type by name.
|
|
|
|
# *
|
|
|
|
# * This method registers the type extensions from the form extensions.
|
|
|
|
# *
|
|
|
|
# * @throws Exception\InvalidArgumentException if the type cannot be retrieved
|
|
from any extension'
|
|
- name: hasType
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Returns whether the given form type is supported.'
|
|
- name: getTypeGuesser
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Returns the guesser responsible for guessing types.'
|
|
- name: getExtensions
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Returns the extensions loaded by the framework.
|
|
|
|
# *
|
|
|
|
# * @return FormExtensionInterface[]'
|
|
traits: []
|
|
interfaces: []
|