You are here

public function GetLists::__construct in SendinBlue 7.2

GetLists constructor.

Parameters

array $lists:

int $count:

File

includes/Model/GetLists.php, line 21

Class

GetLists

Code

public function __construct($lists) {
  foreach ($lists as $list) {
    $this
      ->addList($list);
  }
  $this
    ->setCount(count($this
    ->getLists()));
}