api/symfony/Component/Serializer/Exception/ExtraAttributesException.yaml

22 lines
863 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: ExtraAttributesException
class_comment: '# * ExtraAttributesException.
# *
# * @author Julien DIDIER <julien@didier.io>'
dependencies: []
properties: []
methods:
- name: getExtraAttributes
visibility: public
parameters: []
comment: "# * ExtraAttributesException.\n# *\n# * @author Julien DIDIER <julien@didier.io>\n\
# */\n# class ExtraAttributesException extends RuntimeException\n# {\n# public\
\ function __construct(\n# private readonly array $extraAttributes,\n# ?\\Throwable\
\ $previous = null,\n# ) {\n# $msg = \\sprintf('Extra attributes are not allowed\
\ (\"%s\" %s unknown).', implode('\", \"', $extraAttributes), \\count($extraAttributes)\
\ > 1 ? 'are' : 'is');\n# \n# parent::__construct($msg, 0, $previous);\n# }\n\
# \n# /**\n# * Get the extra attributes that are not allowed."
traits: []
interfaces: []