| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 88.89% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Worker implements WorkerInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var \Xervice\RabbitMQ\Business\Model\Worker\Listener\ListenerCollection |
||
| 15 | */ |
||
| 16 | private $listenerCollection; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \Xervice\RabbitMQ\Business\Model\Worker\Consumer\ConsumerInterface |
||
| 20 | */ |
||
| 21 | private $consumer; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Worker constructor. |
||
| 25 | * |
||
| 26 | * @param \Xervice\RabbitMQ\Business\Model\Worker\Listener\ListenerCollection $listenerCollection |
||
| 27 | * @param \Xervice\RabbitMQ\Business\Model\Worker\Consumer\ConsumerInterface $consumer |
||
| 28 | */ |
||
| 29 | 2 | public function __construct( |
|
| 35 | 2 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 39 | */ |
||
| 40 | 2 | public function runWorker(OutputInterface $output = null): void |
|
| 49 | } |