Conditions | 4 |
Paths | 8 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
46 | public function __construct(array $response) |
||
47 | { |
||
48 | |||
49 | $this->status = $response['status']; |
||
50 | $this->smsId = $response['sms_id']; |
||
51 | $this->from = $response['from']; |
||
52 | $this->to = $response['to']; |
||
53 | $this->custom = isset($response['custom']) ? $response['custom'] : ''; |
||
54 | $this->smsDate = isset($response['sms_date']) ? $response['sms_date'] : ''; |
||
55 | $this->dlrDate = isset($response['dlr_date']) ? $response['dlr_date'] : ''; |
||
56 | } |
||
113 | } |