40 lines
850 B
YAML
40 lines
850 B
YAML
name: TestNormalizer
|
|
class_comment: '# * Provides a test Normalizer which only implements the NormalizerInterface.
|
|
|
|
# *
|
|
|
|
# * @author Lin Clark <lin@lin-clark.com>'
|
|
dependencies:
|
|
- name: NormalizerInterface
|
|
type: class
|
|
source: Symfony\Component\Serializer\Normalizer\NormalizerInterface
|
|
properties: []
|
|
methods:
|
|
- name: normalize
|
|
visibility: public
|
|
parameters:
|
|
- name: object
|
|
- name: format
|
|
default: 'null'
|
|
- name: context
|
|
default: '[]'
|
|
comment: null
|
|
- name: getSupportedTypes
|
|
visibility: public
|
|
parameters:
|
|
- name: format
|
|
comment: null
|
|
- name: supportsNormalization
|
|
visibility: public
|
|
parameters:
|
|
- name: data
|
|
- name: format
|
|
default: 'null'
|
|
- name: context
|
|
default: '[]'
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Serializer\Normalizer\NormalizerInterface
|
|
interfaces:
|
|
- the
|
|
- NormalizerInterface
|