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