src/Valkyrja/Console/NativeKernel.php
public function terminate(Input $input, int $exitCode): void
    {
        $this->app->events()->trigger(
            ConsoleKernelTerminate::class,
            [new ConsoleKernelTerminate($input, $exitCode)]
        );
    }
public function terminate(Input $input, int $exitCode): void
    {
        $this->app->events()->trigger(
            ConsoleKernelTerminate::class,
            [new ConsoleKernelTerminate($input, $exitCode)]
        );
    }
Terminate the kernel request.

@param Input $input    The input
@param int   $exitCode The response

@return void