| 1 | <?php |
||
| 10 | class ProcessorInterfaceAdapter implements ProcessorInterface |
||
| 11 | { |
||
| 12 | use |
||
| 13 | EventDispatcherAware, |
||
| 14 | MessageAdapterFactoryAware, |
||
| 15 | MessageProcessorAware; |
||
| 16 | |||
| 17 | private |
||
| 18 | $workerContext; |
||
| 19 | |||
| 20 | 3 | public function __construct(WorkerContext $workerContext) |
|
| 26 | |||
| 27 | 3 | public function process(\Swarrot\Broker\Message $message, array $options) |
|
| 51 | |||
| 52 | 3 | private function onWorkerProcess() |
|
| 56 | |||
| 57 | 3 | private function onWorkerProcessed() |
|
| 61 | } |
||
| 62 |