How to use Bernard-Bundle (for Symfony)
Produce a new "message"

use Bernard\Message\DefaultMessage;
$message = new DefaultMessage('SendNewsletter', array(
            'newsletterId' => 12,

**Running the bundle with symfony 3.1*** (23.10.2016) Had some trouble to get the bundle work with symfony 3.1 as it use a dev version of the original Bernard project.

I temporarily changed the composer.json to get it running:

    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "bernard/bernard-bundle": "dev-master"

Next Post Previous Post