src/package/Support/Config.php
public function loadConfig($config = null)
    {
        $config =
            !is_null($config) || !file_exists($this->configFile)
                ? $this->setConfigFile($this->getConfigFile($config))
                : $this->configFile;

        return $this->loadToLaravelConfig($config);
    }
public function loadConfig($config = null)
    {
        $config =
            !is_null($config) || !file_exists($this->configFile)
                ? $this->setConfigFile($this->getConfigFile($config))
                : $this->configFile;

        return $this->loadToLaravelConfig($config);
    }
public function loadConfig ( $ config = null ) { $ config = ! is_null ( $ config ) || ! file_exists ( $ this -> configFile ) ? $ this -> setConfigFile ( $ this -> getConfigFile ( $ config ) ) : $ this -> configFile ; return $ this -> loadToLaravelConfig ( $ config ) ; }
Load package YAML configuration.

@param null $config

@return Collection
Load package YAML configuration .