Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | public function __construct( |
||
54 | string $id, |
||
55 | int $count, |
||
56 | string $content, |
||
57 | string $numberTo, |
||
58 | int $receiveTime, |
||
59 | string $numberFrom, |
||
60 | int $status |
||
61 | ) { |
||
62 | $receiveTimeDT = new \DateTime(); |
||
63 | $receiveTimeDT->setTimestamp($receiveTime); |
||
64 | |||
65 | $this->id = $id; |
||
66 | $this->count = $count; |
||
67 | $this->content = $content; |
||
68 | $this->numberTo = $numberTo; |
||
69 | $this->receiveTime = $receiveTimeDT; |
||
70 | $this->numberFrom = $numberFrom; |
||
71 | $this->status = $status; |
||
72 | } |
||
73 | |||
147 |