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

24 lines
822 B
YAML

name: Groups
class_comment: null
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Serializer\Exception\InvalidArgumentException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: groups
comment: "# * @author K\xE9vin Dunglas <dunglas@gmail.com>\n# */\n# #[\\Attribute(\\\
Attribute::TARGET_METHOD | \\Attribute::TARGET_PROPERTY | \\Attribute::TARGET_CLASS)]\n\
# class Groups\n# {\n# /**\n# * @var string[]\n# */\n# private readonly array\
\ $groups;\n# \n# /**\n# * @param string|string[] $groups The groups to define\
\ on the attribute target"
- name: getGroups
visibility: public
parameters: []
comment: '# * @return string[]'
traits:
- Symfony\Component\Serializer\Exception\InvalidArgumentException
interfaces: []