Laravoole\Base::getApp PHP Method

getApp() protected method

protected getApp ( )
    protected function getApp()
    {
        $app = new Application($this->root_dir);
        $app->singleton(\Illuminate\Contracts\Http\Kernel::class, \App\Http\Kernel::class);
        $app->singleton(\Illuminate\Contracts\Console\Kernel::class, \App\Console\Kernel::class);
        $app->singleton(\Illuminate\Contracts\Debug\ExceptionHandler::class, \App\Exceptions\Handler::class);
        return $app;
    }