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