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