public function configure($name)
    {
        if (isset($this->loadedConfigurations[$name])) {
            return;
        }

        $this->loadedConfigurations[$name] = true;

        $path = $this->getConfigurationPath($name);

        if (! \is_null($path)) {
            $this->make('config')->set(Arr::dot([
                $name => require $path,
            ]));
        }
    }
public function configure($name)
    {
        if (isset($this->loadedConfigurations[$name])) {
            return;
        }

        $this->loadedConfigurations[$name] = true;

        $path = $this->getConfigurationPath($name);

        if (! \is_null($path)) {
            $this->make('config')->set(Arr::dot([
                $name => require $path,
            ]));
        }
    }
public function configure ( $ name ) { if ( isset ( $ this -> loadedConfigurations [ $ name ] ) ) { return ; } $ this -> loadedConfigurations [ $ name ] = true ; $ path = $ this -> getConfigurationPath ( $ name ) ; if ( ! \ is_null ( $ path ) ) { $ this -> make ( 'config' ) -> set ( Arr :: dot ( [ $ name => require $ path , ] ) ) ; } }
Load a configuration file into the application.

@param  string  $name

@return void
Load a configuration file into the application .