-
Jaime Pérez Crespo authoredJaime Pérez Crespo authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Configuration.php 47.90 KiB
<?php
namespace SimpleSAML;
use SimpleSAML\Utils\System;
/**
* Configuration of SimpleSAMLphp
*
* @author Andreas Aakre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
* @package SimpleSAMLphp
*/
class Configuration implements Utils\ClearableState
{
/**
* A default value which means that the given option is required.
*
* @var string
*/
const REQUIRED_OPTION = '___REQUIRED_OPTION___';
/**
* Associative array with mappings from instance-names to configuration objects.
*
* @var array
*/
private static $instance = [];
/**
* Configuration directories.
*
* This associative array contains the mappings from configuration sets to
* configuration directories.
*
* @var array
*/
private static $configDirs = [];
/**
* Cache of loaded configuration files.
*
* The index in the array is the full path to the file.
*
* @var array
*/
private static $loadedConfigs = [];
/**
* The configuration array.
*
* @var array
*/
private $configuration;
/**
* The location which will be given when an error occurs.
*
* @var string
*/
private $location;
/**
* The file this configuration was loaded from.
*