コード例 #1
0
 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'];
     }
 }
コード例 #2
0
ファイル: File.php プロジェクト: RKathees/is-connectors
 /**
  * Create an instance
  * @param $config
  */
 public function __construct($config, $secretconfig = array())
 {
     parent::__construct($config, $secretconfig);
     $this->_path = $config["path"];
 }