Skip to content
A ZF2 Doctrine Queue adapter
PHP
Pull request Compare This branch is 4 commits behind TomHAnderson:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
config
documentation
src/SoliantDoctrineQueue
Module.php
README

README

This is a Zend Framework 2 (zf2) module which contains a doctrine queue adapter.

use Zend\Queue\Queue,
    SoliantDoctrineQueue\Queue\Adapter\Doctrine as DoctrineAdapter;

$doctrine = new DoctrineAdapter(array());
$doctrine->setEm($this->getLocator()->get('doctrine_em'));
$queue = new Queue($doctrine, array (
    'name' => 'stuki'
));

Two new tables will be added to your doctrine configuration, queue and messages.

Something went wrong with that request. Please try again.