Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class MessageBirdMessageResult implements SmsMessageResultInterface |
||
24 | { |
||
25 | private $message; |
||
26 | |||
27 | public function __construct(SendMessageResult $message) |
||
30 | } |
||
31 | |||
32 | public function isSuccess(): bool |
||
33 | { |
||
34 | return $this->message->isSuccess(); |
||
35 | } |
||
36 | |||
37 | public function isMessageInvalid(): bool |
||
38 | { |
||
39 | return $this->message->isMessageInvalid(); |
||
40 | } |
||
41 | |||
42 | public function getRawErrors(): array |
||
45 | } |
||
46 | } |
||
47 |