src/Leevel/Kernel/KernelConsole.php
protected function getConsoleApplication(): Application
    {
        if ($this->consoleApplication) {
            return $this->consoleApplication;
        }

        return $this->consoleApplication = new Application($this->app, $this->app->version());
    }
protected function getConsoleApplication(): Application
    {
        if ($this->consoleApplication) {
            return $this->consoleApplication;
        }

        return $this->consoleApplication = new Application($this->app, $this->app->version());
    }
取得命令行应用.

@return \Leevel\Console\Application
@codeCoverageIgnore