platform/api/symfony/Component/Serializer/Mapping/ClassDiscriminatorMapping.yaml

43 lines
807 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: ClassDiscriminatorMapping
class_comment: '# * @author Samuel Roze <samuel.roze@gmail.com>'
dependencies: []
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: typeProperty
- name: typesMapping
default: '[]'
comment: '# * @author Samuel Roze <samuel.roze@gmail.com>
# */
# class ClassDiscriminatorMapping
# {
# /**
# * @param array<string, string> $typesMapping'
- name: getTypeProperty
visibility: public
parameters: []
comment: null
- name: getClassForType
visibility: public
parameters:
- name: type
comment: null
- name: getMappedObjectType
visibility: public
parameters:
- name: object
comment: null
- name: getTypesMapping
visibility: public
parameters: []
comment: null
traits: []
interfaces: []