api/symfony/Component/Serializer/NameConverter/NameConverterInterface.yaml
2024-09-26 02:03:21 -07:00

41 lines
1.1 KiB
YAML

name: NameConverterInterface
class_comment: null
dependencies: []
properties: []
methods:
- name: normalize
visibility: public
parameters:
- name: propertyName/*
- name: class
default: 'null'
- name: format
default: 'null'
- name: context
default: '[] */'
comment: "# * Defines the interface for property name converters.\n# *\n# * @author\
\ K\xE9vin Dunglas <dunglas@gmail.com>\n# */\n# interface NameConverterInterface\n\
# {\n# /**\n# * Converts a property name to its normalized value.\n# *\n# * @param\
\ class-string|null $class\n# * @param string|null $format\n# * @param\
\ array<string, mixed> $context"
- name: denormalize
visibility: public
parameters:
- name: propertyName/*
- name: class
default: 'null'
- name: format
default: 'null'
- name: context
default: '[] */'
comment: '# * Converts a property name to its denormalized value.
# *
# * @param class-string|null $class
# * @param string|null $format
# * @param array<string, mixed> $context'
traits: []
interfaces: []