platform/api/symfony/Component/Form/Exception/TransformationFailedException.yaml

36 lines
1.4 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: TransformationFailedException
class_comment: '# * Indicates a value transformation error.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>'
dependencies: []
properties: []
methods:
- name: setInvalidMessage
visibility: public
parameters:
- name: invalidMessage
- name: invalidMessageParameters
default: '[]'
comment: "# * Indicates a value transformation error.\n# *\n# * @author Bernhard\
\ Schussek <bschussek@gmail.com>\n# */\n# class TransformationFailedException\
\ extends RuntimeException\n# {\n# private ?string $invalidMessage;\n# private\
\ array $invalidMessageParameters;\n# \n# public function __construct(string $message\
\ = '', int $code = 0, ?\\Throwable $previous = null, ?string $invalidMessage\
\ = null, array $invalidMessageParameters = [])\n# {\n# parent::__construct($message,\
\ $code, $previous);\n# \n# $this->setInvalidMessage($invalidMessage, $invalidMessageParameters);\n\
# }\n# \n# /**\n# * Sets the message that will be shown to the user.\n# *\n# *\
\ @param string|null $invalidMessage The message or message key\n# *\
\ @param array $invalidMessageParameters Data to be passed into the translator"
- name: getInvalidMessage
visibility: public
parameters: []
comment: null
- name: getInvalidMessageParameters
visibility: public
parameters: []
comment: null
traits: []
interfaces: []