mirror of
https://github.com/danog/Valinor.git
synced 2024-12-03 10:07:48 +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(); ``` |
||
---|---|---|
.. | ||
dealing-with-dates.md | ||
performance-and-cache.md | ||
static-analysis.md |