Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function __construct($notification) |
||
28 | { |
||
29 | $this->uuid = $notification->uuid; |
||
30 | $this->event = $notification->event; |
||
31 | $this->label = $notification->label; |
||
32 | $this->description = $notification->description; |
||
33 | $this->created_at = $notification->created_at; |
||
34 | $this->completed_at = $notification->completed_at; |
||
35 | $this->status = $notification->status; |
||
36 | $this->progress = $notification->progress; |
||
37 | $this->context = $notification->context; |
||
38 | if (property_exists($notification, '_links')) { |
||
39 | $this->links = $notification->_links; |
||
40 | } |
||
43 |