| 1 | <?php |
||
| 17 | final class TotalResponseItem |
||
| 18 | { |
||
| 19 | private $time; |
||
| 20 | private $accepted; |
||
| 21 | private $delivered; |
||
| 22 | private $failed; |
||
| 23 | private $complained; |
||
| 24 | |||
| 25 | 4 | public static function create(array $data): self |
|
| 36 | |||
| 37 | 4 | private function __construct() |
|
| 40 | |||
| 41 | 1 | public function getTime(): ?\DateTimeImmutable |
|
| 45 | |||
| 46 | public function getAccepted(): array |
||
| 50 | |||
| 51 | public function getDelivered(): array |
||
| 55 | |||
| 56 | public function getFailed(): array |
||
| 60 | |||
| 61 | 1 | public function getComplained(): array |
|
| 65 | } |
||
| 66 |