File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 55
66 - [ Installation] ( #installation )
77 - [ Usage] ( #usage )
8+ - [ ProducerEventBus] ( #producereventbus )
9+ - [ Consumer for the ProducerEventBus] ( #consumer-for-the-producereventbus )
10+ - [ EventBusWorker] ( #eventbusworker )
811 - [ Adapter Configurations] ( #adapter-configurations )
912 - [ PDOQueue] ( #pdoqueue )
1013 - [ MongoDBQueue] ( #mongodbqueue )
@@ -129,7 +132,7 @@ $container['ErrorQueue'] = function() use ($container) {
129132
130133```
131134
132- #### The Consumer code
135+ #### EventBusWorker
133136
134137Finally, we'll have to call a consumer. This package already provides a fully working consumer implementation: ` EventBusWorker ` .
135138
@@ -139,7 +142,7 @@ Use it as follows:
139142<?php
140143//... your $container should be available here.
141144
142- $consumer = NilPortugues\MessageBus\EventBusQueue\EventBusWorker();
145+ $consumer = \ NilPortugues\MessageBus\EventBusQueue\EventBusWorker();
143146$consumer->consume(
144147 $container->get('EventBusQueueAdapter'),
145148 $container->get('ErrorQueue'),
You can’t perform that action at this time.
0 commit comments