示例#1
0
文件: Store.php 项目: hukumonline/yii
 /**
  * Singleton accessor for the SimpleSAML_MetaShare_Store object. Will create a new instance
  * of the object if no instance exsists. If an instance already exists, this function will
  * return that.
  *
  * @return  The SimpleSAML_MetaShare_Store object.
  */
 public static function getInstance()
 {
     if (self::$instance === NULL) {
         self::$instance = new self();
     }
     return self::$instance;
 }