Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function __construct(object $certificate) |
||
39 | { |
||
40 | $this->id = $certificate->id; |
||
41 | $this->label = $certificate->label; |
||
42 | $this->certificate = $certificate->certificate; |
||
43 | $this->private_key = $certificate->private_key; |
||
44 | $this->ca = $certificate->ca; |
||
45 | $this->flags = $certificate->flags; |
||
46 | $this->expires_at = $certificate->expires_at; |
||
47 | $this->domains = $certificate->domains; |
||
48 | $this->environment = $certificate->environment; |
||
49 | $this->links = $certificate->_links; |
||
50 | } |
||
52 |