src/Neutrino/Foundation/Bootstrap.php
public function make($kernelClass)
    {
        /** @var \Phalcon\Application|\Neutrino\Interfaces\Kernelable $kernel */
        $kernel = new $kernelClass;

        $kernel->bootstrap($this->config);

        if (APP_DEBUG && APP_ENV !== Env::TEST && php_sapi_name() !== 'cli') {
            Debugger::register();
        }

        $kernel->registerServices();
        $kernel->registerMiddlewares();
        $kernel->registerListeners();
        $kernel->registerRoutes();
        $kernel->registerModules([]);

        return $kernel;
    }
public function make($kernelClass)
    {
        /** @var \Phalcon\Application|\Neutrino\Interfaces\Kernelable $kernel */
        $kernel = new $kernelClass;

        $kernel->bootstrap($this->config);

        if (APP_DEBUG && APP_ENV !== Env::TEST && php_sapi_name() !== 'cli') {
            Debugger::register();
        }

        $kernel->registerServices();
        $kernel->registerMiddlewares();
        $kernel->registerListeners();
        $kernel->registerRoutes();
        $kernel->registerModules([]);

        return $kernel;
    }
@param $kernelClass

@return \Phalcon\Application