Total Complexity | 6 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class MailChimpWebHooksEvent |
||
8 | { |
||
9 | /** |
||
10 | * @var bool |
||
11 | */ |
||
12 | private $subscribe; |
||
13 | |||
14 | /** |
||
15 | * @var bool |
||
16 | */ |
||
17 | private $unsubscribe; |
||
18 | |||
19 | /** |
||
20 | * @var bool |
||
21 | */ |
||
22 | private $profile; |
||
23 | |||
24 | public function isSubscribe(): bool |
||
25 | { |
||
26 | return $this->subscribe; |
||
27 | } |
||
28 | |||
29 | public function setSubscribe(bool $subscribe): MailChimpWebHooksEvent |
||
30 | { |
||
31 | $this->subscribe = $subscribe; |
||
32 | return $this; |
||
33 | } |
||
34 | |||
35 | public function isUnsubscribe(): bool |
||
36 | { |
||
37 | return $this->unsubscribe; |
||
38 | } |
||
39 | |||
40 | public function setUnsubscribe(bool $unsubscribe): MailChimpWebHooksEvent |
||
41 | { |
||
42 | $this->unsubscribe = $unsubscribe; |
||
43 | return $this; |
||
44 | } |
||
45 | |||
46 | public function isProfile(): bool |
||
49 | } |
||
50 | |||
51 | public function setProfile(bool $profile): MailChimpWebHooksEvent |
||
55 | } |
||
56 | } |
||
57 |