You are here

public function SendinblueMailin::getLists in SendinBlue 7.2

Same name and namespace in other branches
  1. 7 includes/sendinblue.mailin.php \SendinblueMailin::getLists()

Get lists of an account.

Return value

array An array of all lists.

File

includes/sendinblue.mailin.php, line 154
Rest class file.

Class

SendinblueMailin
Sendinblue REST client.

Code

public function getLists() {
  $lists = $this->sendinblueMailin
    ->getLists();
  if ($lists !== NULL) {
    return $lists
      ->getLists();
  }
  return [];
}