public function SendinblueApiV2::getLists in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Tools/Api/SendinblueApiV2.php \Drupal\sendinblue\Tools\Api\SendinblueApiV2::getLists()
Get lists of an account.
Return value
\Drupal\sendinblue\Tools\Model\GetLists An array of all lists.
Overrides SendInBlueApiInterface::getLists
File
- src/
Tools/ Api/ SendinblueApiV2.php, line 164
Class
- SendinblueApiV2
- Sendinblue REST client.
Namespace
Drupal\sendinblue\Tools\ApiCode
public function getLists() {
$lists = $this->sIBHttpClient
->get("list", "");
return new GetLists($lists['data']);
}