Conditions | 4 |
Paths | 8 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function __construct(array $response) |
||
37 | { |
||
38 | $this->status = $response['status']; |
||
39 | $this->smsId = $response['sms_id']; |
||
40 | $this->custom = isset($response['custom']) ? $response['custom'] : ''; |
||
41 | $this->errorId = isset($response['error_id']) ? $response['error_id'] : ''; |
||
42 | $this->errorMsg = isset($response['error_msg']) ? $response['error_msg'] : ''; |
||
43 | } |
||
84 | } |