/**
  * Get a singleton connection to dropbox
  *
  * @param array $options
  * @return Dropbox
  */
 public static function getInstance($options = array())
 {
     if (self::$instance == null) {
         self::$instance = new self();
         $accessToken = $options['access_token'];
         $host = dbx\Host::getDefault();
         self::$instance->client = new dbx\Client($accessToken, "QKeylm", 'en', $host);
     }
     return static::$instance;
 }
 function __construct($accessToken, $clientIdentifier, $userLocale = null)
 {
     parent::__construct($accessToken, $clientIdentifier, $userLocale);
     // The $host parameter is sort of internal.  We don't include it in the param list because
     // we don't want it to be included in the documentation.  Use PHP arg list hacks to get at
     // it.
     $host = null;
     if (\func_num_args() == 4) {
         $host = \func_get_arg(3);
         dbx\Host::checkArgOrNull("host", $host);
     }
     if ($host === null) {
         $host = dbx\Host::getDefault();
     }
     //$this->host = $host;
     // These fields are redundant, but it makes these values a little more convenient
     // to access.
     $this->myApiHost = $host->getApi();
     //$this->contentHost = $host->getContent();
 }