platform/api/symfony/Component/Serializer/Attribute/Context.yaml
2024-09-02 10:44:11 -07:00

48 lines
1.6 KiB
YAML

name: Context
class_comment: null
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Serializer\Exception\InvalidArgumentException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: context
default: '[]'
- name: normalizationContext
default: '[]'
- name: denormalizationContext
default: '[]'
- name: groups
default: '[]'
comment: "# * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>\n# */\n\
# #[\\Attribute(\\Attribute::TARGET_CLASS | \\Attribute::TARGET_PROPERTY | \\\
Attribute::TARGET_METHOD | \\Attribute::IS_REPEATABLE)]\n# class Context\n# {\n\
# private array $groups;\n# \n# /**\n# * @param array<string, mixed> $context\
\ The common context to use when serializing or deserializing\n\
# * @param array<string, mixed> $normalizationContext The context to use when\
\ serializing\n# * @param array<string, mixed> $denormalizationContext The context\
\ to use when deserializing\n# * @param string|string[] $groups \
\ The groups to use when serializing or deserializing\n# *\n# * @throws\
\ InvalidArgumentException"
- name: getContext
visibility: public
parameters: []
comment: null
- name: getNormalizationContext
visibility: public
parameters: []
comment: null
- name: getDenormalizationContext
visibility: public
parameters: []
comment: null
- name: getGroups
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Serializer\Exception\InvalidArgumentException
interfaces: []