1 | <?php |
||
17 | final class TotalResponseItem |
||
18 | { |
||
19 | private $time; |
||
20 | private $accepted; |
||
21 | private $delivered; |
||
22 | private $failed; |
||
23 | private $complained; |
||
24 | private $opened; |
||
25 | 4 | private $clicked; |
|
26 | private $unsubscribed; |
||
27 | 4 | private $stored; |
|
28 | 4 | ||
29 | 4 | public static function create(array $data): self |
|
44 | |||
45 | private function __construct() |
||
48 | |||
49 | public function getTime(): ?\DateTimeImmutable |
||
53 | |||
54 | public function getAccepted(): array |
||
58 | |||
59 | public function getDelivered(): array |
||
63 | 1 | ||
64 | public function getFailed(): array |
||
68 | |||
69 | public function getComplained(): array |
||
73 | |||
74 | public function getOpened(): array |
||
78 | |||
79 | public function getClicked(): array |
||
83 | |||
84 | public function getUnsubscribed(): array |
||
88 | |||
89 | public function getStored(): array |
||
93 | } |
||
94 |