api/symfony/Component/Form/PreloadedExtension.yaml

56 lines
1.5 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: PreloadedExtension
class_comment: '# * A form extension with preloaded types, type extensions and type
guessers.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>'
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Form\Exception\InvalidArgumentException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: types
- name: typeExtensions
- name: typeGuesser
default: 'null'
comment: "# * A form extension with preloaded types, type extensions and type guessers.\n\
# *\n# * @author Bernhard Schussek <bschussek@gmail.com>\n# */\n# class PreloadedExtension\
\ implements FormExtensionInterface\n# {\n# private array $types = [];\n# \n#\
\ /**\n# * Creates a new preloaded extension.\n# *\n# * @param FormTypeInterface[]\
\ $types The types that the extension should support\n# *\
\ @param FormTypeExtensionInterface[][] $typeExtensions The type extensions that\
\ the extension should support"
- name: getType
visibility: public
parameters:
- name: name
comment: null
- name: hasType
visibility: public
parameters:
- name: name
comment: null
- name: getTypeExtensions
visibility: public
parameters:
- name: name
comment: null
- name: hasTypeExtensions
visibility: public
parameters:
- name: name
comment: null
- name: getTypeGuesser
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Form\Exception\InvalidArgumentException
interfaces:
- FormExtensionInterface