src/Valkyrja/Console/NativeKernel.php
public function handle(Input $input, Output $output): int
    {
        $exitCode = 1;

        try {
            $exitCode = $this->console->dispatch($input, $output);
        } catch (Throwable $exception) {
            // Show the exception
            // TODO: Implement
            dd($exception);
        }

        $this->app->events()->trigger(
            ConsoleKernelHandled::class,
            [new ConsoleKernelHandled($input, $exitCode)]
        );

        return $exitCode;
    }
public function handle(Input $input, Output $output): int
    {
        $exitCode = 1;

        try {
            $exitCode = $this->console->dispatch($input, $output);
        } catch (Throwable $exception) {
            // Show the exception
            // TODO: Implement
            dd($exception);
        }

        $this->app->events()->trigger(
            ConsoleKernelHandled::class,
            [new ConsoleKernelHandled($input, $exitCode)]
        );

        return $exitCode;
    }
Handle a console input.

@param Input  $input  The input
@param Output $output The output

@throws \Valkyrja\Http\Exceptions\HttpException

@return int