GetLists.php in SendinBlue 7.2
File
includes/Model/GetLists.php
View source
<?php
class GetLists {
public $lists = [];
public $count = 0;
public function __construct($lists) {
foreach ($lists as $list) {
$this
->addList($list);
}
$this
->setCount(count($this
->getLists()));
}
public function getLists() {
return $this->lists;
}
public function setLists($lists) {
$this->lists = $lists;
}
public function addList($list) {
$this->lists[] = $list;
}
public function getCount() {
return $this->count;
}
public function setCount($count) {
$this->count = $count;
}
}