From a3c176a4c0f643622ec124aa89bdaa1fbe403f45 Mon Sep 17 00:00:00 2001 From: Konstantin Myakshin Date: Mon, 16 Apr 2018 23:12:53 +0300 Subject: [PATCH] Fix namespace in doc --- docs/magento2/quick_tour.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)