| 1 | <?php |
||
| 10 | class ProcessorInterfaceAdapter implements ProcessorInterface |
||
| 11 | { |
||
| 12 | use |
||
| 13 | EventDispatcherAware, |
||
| 14 | MessageProcessorAware; |
||
| 15 | |||
| 16 | private |
||
| 17 | $messageAdapterFactory, |
||
| 18 | $workerContext; |
||
| 19 | |||
| 20 | 2 | public function __construct(WorkerContext $workerContext, MessageAdapterFactory $factory = null) |
|
| 31 | |||
| 32 | 2 | public function process(\Swarrot\Broker\Message $message, array $options) |
|
| 57 | |||
| 58 | 2 | private function onWorkerProcess() |
|
| 62 | |||
| 63 | 2 | private function onWorkerProcessed() |
|
| 67 | } |
||
| 68 |