Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | public function __construct(object $alert) |
||
35 | { |
||
36 | $this->alert_id = $alert->alert_id; |
||
37 | $this->uuid = $alert->uuid; |
||
38 | $this->name = $alert->name; |
||
39 | $this->message = $alert->message; |
||
40 | $this->article_link = $alert->article_link; |
||
41 | $this->severity = $alert->severity; |
||
42 | $this->severity_label = $alert->severity_label; |
||
43 | $this->failed_value = $alert->failed_value; |
||
44 | $this->fix_details = $alert->fix_details; |
||
45 | $this->categories = $alert->categories; |
||
46 | $this->flags = $alert->flags; |
||
47 | $this->links = $alert->_links; |
||
48 | } |
||
50 |