public function GetLists::__construct in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Tools/Model/GetLists.php \Drupal\sendinblue\Tools\Model\GetLists::__construct()
GetLists constructor.
Parameters
array $lists:
int $count:
File
- src/
Tools/ Model/ GetLists.php, line 23
Class
Namespace
Drupal\sendinblue\Tools\ModelCode
public function __construct(array $lists) {
foreach ($lists as $list) {
$this
->addList($list);
}
$this
->setCount(count($this
->getLists()));
}