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(); }