Total Complexity | 7 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class Console extends BaseApplication |
||
15 | { |
||
16 | /** |
||
17 | * @var \Jellyfish\Kernel\KernelInterface |
||
18 | */ |
||
19 | protected $kernel; |
||
20 | |||
21 | /** |
||
22 | * @param \Jellyfish\Kernel\KernelInterface $kernel |
||
23 | */ |
||
24 | public function __construct(KernelInterface $kernel) |
||
25 | { |
||
26 | parent::__construct('Jellyfish', '1.0.0'); |
||
27 | |||
28 | $this->kernel = $kernel; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return \Symfony\Component\Console\Command\Command[] |
||
33 | */ |
||
34 | protected function getDefaultCommands(): array |
||
57 | } |
||
58 | } |
||
59 |