Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function __construct(object $database) |
||
20 | { |
||
21 | $this->id = $database->id; |
||
22 | $this->name = $database->name; |
||
23 | $this->user_name = $database->user_name ?? null; |
||
24 | $this->password = $database->password ?? null; |
||
25 | $this->url = $database->url ?? null; |
||
26 | $this->db_host = $database->db_host; |
||
27 | $this->ssh_host = $database->ssh_host ?? null; |
||
28 | $this->flags = $database->flags; |
||
29 | $this->environment = $database->environment; |
||
30 | } |
||
32 |