protected function createApp() { $this->app = (require __DIR__ . '/../../bootstrap/app.php'); $this->app->make(Kernel::class)->bootstrap(); return $this->app; }