mirror of
https://github.com/danog/Valinor.git
synced 2024-11-30 04:39:05 +01:00
cb87925aac
The new class `\CuyZ\Valinor\Mapper\Tree\Message\MessageBuilder` can be used to easily create an instance of (error) message. This new straightforward way of creating messages leads to the depreciation of `\CuyZ\Valinor\Mapper\Tree\Message\ThrowableMessage`. ```php $message = MessageBuilder::newError('Some message / {some_parameter}.') ->withCode('some_code') ->withParameter('some_parameter', 'some_value') ->build(); ``` |
||
---|---|---|
.. | ||
img | ||
mapping | ||
other | ||
stylesheets | ||
changelog.md | ||
credits.md | ||
getting-started.md | ||
index.md | ||
message-customization.md | ||
robots.txt | ||
source.md | ||
validation.md |