| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 87.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Worker implements WorkerInterface |
||
| 15 | { |
||
| 16 | use DynamicBusinessLocator; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \Xervice\RabbitMQ\Business\Model\Worker\Listener\ListenerCollection |
||
| 20 | */ |
||
| 21 | private $listenerCollection; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Worker constructor. |
||
| 25 | * |
||
| 26 | * @param \Xervice\RabbitMQ\Business\Model\Worker\Listener\ListenerCollection $listenerCollection |
||
| 27 | */ |
||
| 28 | 2 | public function __construct(ListenerCollection $listenerCollection) |
|
| 31 | 2 | } |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 35 | */ |
||
| 36 | 2 | public function runWorker(OutputInterface $output = null): void |
|
| 46 | } |