Formatters

Formatters determine how messages are outputted.

Formatters must implement Centum\Interfaces\Flash\FormatterInterface.

Currently, there are 2 formatters:

Centum\Flash\Formatter\HtmlFormatter

<div class="alert alert-danger">This is an example message.</div>

Centum\Flash\Formatter\TextFormatter

[DANGER] This is an example message.