| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 58.33% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class DispatchCommand extends Command |
||
| 15 | { |
||
| 16 | protected static $defaultName = 'setono:message-scheduler:dispatch'; |
||
| 17 | |||
| 18 | private DispatcherInterface $dispatcher; |
||
| 19 | |||
| 20 | 1 | public function __construct(DispatcherInterface $dispatcher) |
|
| 25 | 1 | } |
|
| 26 | |||
| 27 | 1 | protected function configure(): void |
|
| 28 | { |
||
| 29 | 1 | $this->setDescription('Will dispatch messages, that are eligible for dispatching'); |
|
| 30 | 1 | } |
|
| 31 | |||
| 32 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 41 | } |
||
| 42 | } |
||
| 43 |