protected function createApplication()
    {
        putenv('APP_ENV=' . $this->getEnv());

        $app = require $this->appPath;

        $app->make(Kernel::class)->bootstrap();

        Carbon::setTestNow(Carbon::now());

        return $app;
    }
protected function createApplication()
    {
        putenv('APP_ENV=' . $this->getEnv());

        $app = require $this->appPath;

        $app->make(Kernel::class)->bootstrap();

        Carbon::setTestNow(Carbon::now());

        return $app;
    }
protected function createApplication ( ) { putenv ( 'APP_ENV=' . $ this -> getEnv ( ) ) ; $ app = require $ this -> appPath ; $ app -> make ( Kernel :: class ) -> bootstrap ( ) ; Carbon :: setTestNow ( Carbon :: now ( ) ) ; return $ app ; }
Creates a Laravel application.

@return \Illuminate\Foundation\Application
Creates a Laravel application .