api/symfony/Component/Form/Exception/TransformationFailedException.yaml
2024-09-26 02:03:21 -07:00

35 lines
1.4 KiB
YAML

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: []