You are here

public function SendinblueApiV3::getList in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Tools/Api/SendinblueApiV3.php \Drupal\sendinblue\Tools\Api\SendinblueApiV3::getList()

Get list by id.

Parameters

string $id: A list identification.

Return value

\Drupal\sendinblue\Tools\Model\GetExtendedList An array of lists.

Overrides SendInBlueApiInterface::getList

File

src/Tools/Api/SendinblueApiV3.php, line 211

Class

SendinblueApiV3
Sendinblue REST client.

Namespace

Drupal\sendinblue\Tools\Api

Code

public function getList($id) {
  $list = $this->sibListsApi
    ->getList($id);
  return new GetExtendedList(Json::decode($list));
}