/** * After each scenario, reboot the kernel. */ public function reboot() { Facade::clearResolvedInstances(); $lumen = new LumenBooter($this->app->basePath()); $this->context->getSession('lumen')->getDriver()->reboot($this->app = $lumen->boot()); $this->setAppOnContext(); }
/** * Get the base path for the application. * * @param string $path * @return string * @static */ public static function basePath($path = null) { return \Laravel\Lumen\Application::basePath($path); }