public accountInfo ( ) : array | ||
Результат | array |
public function accountInfo()
{
// make the call
return (array) $this->doCall('1/account/info');
}
/** * Tests Dropbox->accountInfo() */ public function testAccountInfo() { $response = $this->dropbox->accountInfo(); $this->assertArrayHasKey('referral_link', $response); $this->assertArrayHasKey('display_name', $response); $this->assertArrayHasKey('uid', $response); $this->assertArrayHasKey('email', $response); }