public static function create($_)
    {
        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::createFromFile($arguments);
    }
public static function create($_)
    {
        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::createFromFile($arguments);
    }
public static function create ( $ _ ) { 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 :: createFromFile ( $ arguments ) ; }
Create a new ConfigInterface object.

Tries to deduce the correct creation method by inspecting the provided arguments.

@since 0.3.0

@param mixed $_ Array with configuration values.

@return ConfigInterface Instance of a ConfigInterface implementation.
Create a new ConfigInterface object .