vendor/luracast/config/src/Luracast/Config.php
/**
     * Initialize the Config instance for a specific target path
     *
     * @param string      $path        folder path for the config files
     * @param string|null $environment path for fine tuning config files with overriding properties
     *
     * @return Config
     */
Initialize the Config instance for a specific target path
@param string      $path        folder path for the config files
@param string|null $environment path for fine tuning config files with overriding properties

@return Config
Initialize the Config instance for a specific target path @param string $path folder path for the config files @param string|null $environment path for fine tuning config files with overriding properties @return Config
public static function init($path, $environment = null)
    {
        if (!static::$instance)
            static::$instance = new Config($path, $environment);
        else {
            static::$instance->path = $path;
            static::$instance->environment = $environment;
            static::$instance->container = array();
        }
        return static::$instance;
    }
public static function init ( $ path , $ environment = null ) { if ( ! static :: $ instance ) static :: $ instance = new Config ( $ path , $ environment ) ; else { static :: $ instance -> path = $ path ; static :: $ instance -> environment = $ environment ; static :: $ instance -> container = array ( ) ; } return static :: $ instance ; }
Initialize the Config instance for a specific target path
 @param string      $path        folder path for the config files
 @param string|null $environment path for fine tuning config files with overriding properties
Initialize the Config instance for a specific target path @param string $path folder path for the config files @param string|null $environment path for fine tuning config files with overriding properties