Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function __construct( |
||
27 | string $id, |
||
28 | string $userId, |
||
29 | string $body, |
||
30 | int $publishedOn, |
||
31 | string $status, |
||
32 | int $readOn = null |
||
33 | ) { |
||
34 | $this->id = $id; |
||
35 | $this->userId = $userId; |
||
36 | $this->body = $body; |
||
37 | $this->publishedOn = $publishedOn; |
||
38 | $this->status = $status; |
||
39 | $this->readOn = $readOn; |
||
40 | } |
||
41 | |||
66 |