public function __construct($config) { parent::__construct($config); $this->store = SimpleSAML_Store::getInstance(); if ($this->store === FALSE) { throw new Exception('Datastore not configured.'); } if (isset($config['data.type']) && is_string($config['data.type'])) { $this->dataType = $config['data.type']; } }
/** * Create an instance * @param $config */ public function __construct($config, $secretconfig = array()) { parent::__construct($config, $secretconfig); $this->_path = $config["path"]; }