21 lines
863 B
YAML
21 lines
863 B
YAML
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: []
|