68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
name: FormExtensionInterface
|
|
class_comment: null
|
|
dependencies: []
|
|
properties: []
|
|
methods:
|
|
- name: getType
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Interface for extensions which provide types, type extensions and
|
|
a guesser.
|
|
|
|
# */
|
|
|
|
# interface FormExtensionInterface
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Returns a type by name.
|
|
|
|
# *
|
|
|
|
# * @param string $name The name of the type
|
|
|
|
# *
|
|
|
|
# * @throws Exception\InvalidArgumentException if the given type is not supported
|
|
by this extension'
|
|
- name: hasType
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Returns whether the given type is supported.
|
|
|
|
# *
|
|
|
|
# * @param string $name The name of the type'
|
|
- name: getTypeExtensions
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Returns the extensions for the given type.
|
|
|
|
# *
|
|
|
|
# * @param string $name The name of the type
|
|
|
|
# *
|
|
|
|
# * @return FormTypeExtensionInterface[]'
|
|
- name: hasTypeExtensions
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Returns whether this extension provides type extensions for the given
|
|
type.
|
|
|
|
# *
|
|
|
|
# * @param string $name The name of the type'
|
|
- name: getTypeGuesser
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Returns the type guesser provided by this extension.'
|
|
traits: []
|
|
interfaces: []
|