73 lines
1.8 KiB
YAML
73 lines
1.8 KiB
YAML
name: OptionsResolverWrapper
|
|
class_comment: '# * @author Yonel Ceruto <yonelceruto@gmail.com>
|
|
|
|
# *
|
|
|
|
# * @internal'
|
|
dependencies:
|
|
- name: AccessException
|
|
type: class
|
|
source: Symfony\Component\OptionsResolver\Exception\AccessException
|
|
- name: UndefinedOptionsException
|
|
type: class
|
|
source: Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException
|
|
- name: OptionsResolver
|
|
type: class
|
|
source: Symfony\Component\OptionsResolver\OptionsResolver
|
|
properties: []
|
|
methods:
|
|
- name: setNormalizer
|
|
visibility: public
|
|
parameters:
|
|
- name: option
|
|
- name: normalizer
|
|
comment: "# * @author Yonel Ceruto <yonelceruto@gmail.com>\n# *\n# * @internal\n\
|
|
# */\n# class OptionsResolverWrapper extends OptionsResolver\n# {\n# private array\
|
|
\ $undefined = [];\n# \n# /**\n# * @return $this"
|
|
- name: setAllowedValues
|
|
visibility: public
|
|
parameters:
|
|
- name: option
|
|
- name: allowedValues
|
|
comment: '# * @return $this'
|
|
- name: addAllowedValues
|
|
visibility: public
|
|
parameters:
|
|
- name: option
|
|
- name: allowedValues
|
|
comment: '# * @return $this'
|
|
- name: setAllowedTypes
|
|
visibility: public
|
|
parameters:
|
|
- name: option
|
|
- name: allowedTypes
|
|
comment: '# * @param string|array $allowedTypes
|
|
|
|
# *
|
|
|
|
# * @return $this'
|
|
- name: addAllowedTypes
|
|
visibility: public
|
|
parameters:
|
|
- name: option
|
|
- name: allowedTypes
|
|
comment: '# * @param string|array $allowedTypes
|
|
|
|
# *
|
|
|
|
# * @return $this'
|
|
- name: resolve
|
|
visibility: public
|
|
parameters:
|
|
- name: options
|
|
default: '[]'
|
|
comment: null
|
|
- name: getUndefinedOptions
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\OptionsResolver\Exception\AccessException
|
|
- Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException
|
|
- Symfony\Component\OptionsResolver\OptionsResolver
|
|
interfaces: []
|