| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 15 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 9 | public function toArray($request)  | 
            ||
| 10 |     { | 
            ||
| 11 | return [  | 
            ||
| 12 | 'id' => $this->id,  | 
            ||
| 13 | 'user_id' => $this->user_id,  | 
            ||
| 14 | 'from' => $this->from,  | 
            ||
| 15 | 'status' => $this->status,  | 
            ||
| 16 | 'body' => $this->body,  | 
            ||
| 17 | 'url' => $this->url,  | 
            ||
| 18 | 'extra' => $this->extra,  | 
            ||
| 19 | 'read' => $this->read,  | 
            ||
| 20 | 'updated_at' => $this->updated_at,  | 
            ||
| 21 | 'created_at' => $this->created_at,  | 
            ||
| 22 | ];  | 
            ||
| 23 | }  | 
            ||
| 24 | }  | 
            ||
| 25 |