Esempio n. 1
0
 /**
  * Returns instance of the LucidGecko object. This class uses a singleton pattern.
  */
 public static function getInstance($appKey = null, $appSecret = null, $installID = null, $installSecret = null, $apiServer = null)
 {
     if (self::$_instance === null) {
         self::$_instance = new self($appKey, $appSecret, $installID, $installSecret, $apiServer);
     }
     return self::$_instance;
 }