Valinor/docs/pages/other
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
..
dealing-with-dates.md feat: introduce utility class to build messages 2022-09-29 13:52:06 +02:00
performance-and-cache.md doc: introduce mkdocs as a static documentation generator 2022-06-10 17:32:07 +02:00
static-analysis.md doc: introduce mkdocs as a static documentation generator 2022-06-10 17:32:07 +02:00