For the form types I needed a one dimensional array. And as I think I will use it more often I added this to doctrine as a Hydrator.

The "Column"-Hydrator class:

namespace .... Doctrine\Hydrator;

use Doctrine\ORM\Internal\Hydration\AbstractHydrator, PDO;

class ColumnHydrator extends AbstractHy...

Continue reading...

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

...
use Bernard\Message\DefaultMessage;
....
$message = new DefaultMessage('SendNewsletter', array(
            'newsletterId' => 12,
));
$this->get('bernard.producer')->produce($message);

**Running the bundle with symfony 3.1***...

Continue reading...

You can add the option include_stacktraces: true to your monolog configuration:

Example:

monolog:
    handlers:
        main:
            type: stream
            path: "%kernel.logs_dir%/%kernel.environment%.log"
            level: debug
            channels: [!event]
            include_stac...

Continue reading...