src/Bootstrap.php
final public static function run(ClassLoader $loader, $input) {

        $bootstrap = new static($loader, $input);

        $bootstrap->load();

        $input = $bootstrap->input;
        $kernel = $bootstrap->createKernel();

        switch (get_class($input)) {

            case ArgvInput::class:
                $bootstrap->handleInput($kernel, $input);
                break;


            case Request::class:
                $bootstrap->handleRequest($kernel, $input);
                break;


            default:
                break;
        }
    }
final public static function run(ClassLoader $loader, $input) {

        $bootstrap = new static($loader, $input);

        $bootstrap->load();

        $input = $bootstrap->input;
        $kernel = $bootstrap->createKernel();

        switch (get_class($input)) {

            case ArgvInput::class:
                $bootstrap->handleInput($kernel, $input);
                break;


            case Request::class:
                $bootstrap->handleRequest($kernel, $input);
                break;


            default:
                break;
        }
    }
////////////////////////////// PUBLIC API \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\