Aimeos\ShopBundle\Service\Context::addMessageQueueManager PHP Méthode

addMessageQueueManager() protected méthode

Adds the message queue manager object to the context
protected addMessageQueueManager ( Aimeos\MShop\Context\Item\Iface $context ) : Aimeos\MShop\Context\Item\Iface
$context Aimeos\MShop\Context\Item\Iface Context object
Résultat Aimeos\MShop\Context\Item\Iface Modified context object
    protected function addMessageQueueManager(\Aimeos\MShop\Context\Item\Iface $context)
    {
        $mq = new \Aimeos\MW\MQueue\Manager\Standard($context->getConfig());
        $context->setMessageQueueManager($mq);
        return $context;
    }