public function SendinblueApiV3::getAccount in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Tools/Api/SendinblueApiV3.php \Drupal\sendinblue\Tools\Api\SendinblueApiV3::getAccount()
Get the details of an account.
Return value
\Drupal\sendinblue\Tools\Model\GetAccount An array of account detail.
Overrides SendInBlueApiInterface::getAccount
File
- src/
Tools/ Api/ SendinblueApiV3.php, line 176
Class
- SendinblueApiV3
- Sendinblue REST client.
Namespace
Drupal\sendinblue\Tools\ApiCode
public function getAccount() {
$account = $this->sibAccountApi
->getAccount();
return new GetAccount(Json::decode($account));
}