| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | 2 | 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 | 2 | $receiveTimeDT = new \DateTime(); |
|
| 63 | 2 | $receiveTimeDT->setTimestamp($receiveTime); |
|
| 64 | |||
| 65 | 2 | $this->id = $id; |
|
| 66 | 2 | $this->count = $count; |
|
| 67 | 2 | $this->content = $content; |
|
| 68 | 2 | $this->numberTo = $numberTo; |
|
| 69 | 2 | $this->receiveTime = $receiveTimeDT; |
|
| 70 | 2 | $this->numberFrom = $numberFrom; |
|
| 71 | 2 | $this->status = $status; |
|
| 72 | 2 | } |
|
| 73 | |||
| 147 |