| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MailChimpWebhookRequest |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $type; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var MailChimpWebhookDataRequest |
||
| 16 | */ |
||
| 17 | private $data; |
||
| 18 | |||
| 19 | public function getType(): string |
||
| 20 | { |
||
| 21 | return $this->type; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function setType(string $type): MailChimpWebhookRequest |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getData(): MailChimpWebhookDataRequest |
||
| 31 | { |
||
| 32 | return $this->data; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function setData(MailChimpWebhookDataRequest $data): MailChimpWebhookRequest |
||
| 39 | } |
||
| 40 | } |
||
| 41 |