public function configure($name) { if (isset($this->loadedConfigurations[$name])) { return; } $this->loadedConfigurations[$name] = true; $path = $this->getConfigurationPath($name); if ($path) { $this->make('config')->set($name, require $path); } }
/** * Load a configuration file into the application. * * @return void * @static */ public static function configure($name) { \Laravel\Lumen\Application::configure($name); }