Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class MailMotor |
||
11 | { |
||
12 | /** @var string|null - The default list id */ |
||
13 | protected $listId; |
||
14 | |||
15 | public function __construct(?string $listId) |
||
16 | { |
||
17 | $this->listId = $listId; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Get list id |
||
22 | * |
||
23 | * @param string|null $listId - If you want to use a custom list id |
||
24 | * @return string|null |
||
25 | */ |
||
26 | public function getListId(string $listId = null): ?string |
||
29 | } |
||
30 | } |
||
31 |