public static function merge($_)
    {
        if (func_num_args() < 1) {
            return static::createFromArray([]);
        }

        $arguments = func_get_args();

        if (is_array($arguments[0]) && func_num_args() === 1) {
            return static::createFromArray($arguments[0]);
        }

        return static::mergeFromFiles($arguments);
    }
public static function merge($_)
    {
        if (func_num_args() < 1) {
            return static::createFromArray([]);
        }

        $arguments = func_get_args();

        if (is_array($arguments[0]) && func_num_args() === 1) {
            return static::createFromArray($arguments[0]);
        }

        return static::mergeFromFiles($arguments);
    }
public static function merge ( $ _ ) { if ( func_num_args ( ) < 1 ) { return static :: createFromArray ( [ ] ) ; } $ arguments = func_get_args ( ) ; if ( is_array ( $ arguments [ 0 ] ) && func_num_args ( ) === 1 ) { return static :: createFromArray ( $ arguments [ 0 ] ) ; } return static :: mergeFromFiles ( $ arguments ) ; }
Create a new ConfigInterface object, by merging several files together.

Duplicate keys in later files will override those in earlier files.

@since 0.4.6

@param mixed $_ Array with configuration values.

@return ConfigInterface Instance of a ConfigInterface implementation.
Create a new ConfigInterface object by merging several files together .