Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class CliRunner implements RunnerInterface |
||
8 | { |
||
9 | |||
10 | private Kernel $kernel; |
||
11 | public ?string $commandName; |
||
12 | public int $result; |
||
13 | |||
14 | public function __construct(Kernel $kernel, ?string $commandName = null) |
||
15 | { |
||
16 | $this->kernel = $kernel; |
||
17 | $this->commandName = $commandName; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @inheritDoc |
||
22 | */ |
||
23 | public function run(): void |
||
26 | } |
||
27 | } |