Loads a configuration from the given array.
public static loadFromArray ( array $config, string $location = '[ARRAY]', string | null $instance = null ) : SimpleSAML_Configuration | ||
$config | array | The configuration array. |
$location | string | The location which will be given when an error occurs. Optional. |
$instance | string | null | The name of this instance. If specified, the configuration will be loaded and an instance with that name will be kept for it to be retrieved later with getInstance($instance). If null, the configuration will not be kept for later use. Defaults to null. |
return | SimpleSAML_Configuration | The configuration object. |