Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ResetCommand extends Command |
||
11 | 1 | { |
|
12 | /** @var JobManagerInterface */ |
||
13 | private $jobManager; |
||
14 | 1 | ||
15 | 1 | protected function configure() |
|
16 | 1 | { |
|
17 | $this |
||
18 | 1 | ->setName('dtc:queue:reset') |
|
19 | ->setDescription('Reset jobs with exception or stalled status'); |
||
20 | 1 | } |
|
21 | 1 | ||
22 | 1 | public function setJobManager($jobManager) { |
|
24 | 1 | } |
|
25 | 1 | ||
26 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
32 | } |
||
33 | } |
||
34 |