Our version will be prepended to yours.
It will look like: "PHP Dropbox/ "
public getUserAgent ( ) : string | ||
return | string |
/** * Tests Dropbox->getUserAgent() */ public function testGetUserAgent() { $this->dropbox->setUserAgent('testing/1.0.0'); $this->assertEquals('PHP Dropbox/' . Dropbox::VERSION . ' testing/1.0.0', $this->dropbox->getUserAgent()); }