Beispiel #1
0
 /**
  * Returns class instance
  *
  * @return YNSOCIALBRIDGE_BOL_TokenDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Beispiel #2
0
 private function __construct()
 {
     $this->tokenDao = YNSOCIALBRIDGE_BOL_TokenDao::getInstance();
 }