Valinor/tests/Unit/Mapper/Tree/Message
Romain Canon cb87925aac feat: introduce utility class to build messages
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();
```
2022-09-29 13:52:06 +02:00
..
Formatter feat!: rework messages body and parameters features 2022-07-25 22:05:31 +02:00
MessageBuilderTest.php feat: introduce utility class to build messages 2022-09-29 13:52:06 +02:00
MessagesFlattenerTest.php feat: make MessagesFlattener countable 2022-07-26 19:39:14 +02:00
NodeMessageTest.php feat: allow to declare parameter for message 2022-07-26 19:23:44 +02:00
ThrowableMessageTest.php feat!: rework messages body and parameters features 2022-07-25 22:05:31 +02:00