diff --git a/docs/magento2/quick_tour.md b/docs/magento2/quick_tour.md index f52312148..c6ced2be2 100644 --- a/docs/magento2/quick_tour.md +++ b/docs/magento2/quick_tour.md @@ -33,7 +33,7 @@ To send a message you have to take enqueue helper and call `send` method. create('Enqueue\Enqueue\Model\EnqueueManager'); +$enqueueManager = $objectManager->create('Enqueue\Magento2\Model\EnqueueManager'); $enqueueManager->sendEvent('a_topic', 'aMessage'); // or a command with a possible reply @@ -97,4 +97,4 @@ and run message consume command: $ php bin/magento enqueue:consume -vvv --setup-broker ``` -[back to index](../index.md#magento2) \ No newline at end of file +[back to index](../index.md#magento2)