Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
70 | private function flattenStatus() |
||
71 | { |
||
72 | if ($this->loadbalancer instanceof LoadBalancer) { |
||
73 | $this->name = $this->loadbalancer->name; |
||
74 | $this->id = $this->loadbalancer->id; |
||
75 | $this->operatingStatus = $this->loadbalancer->operatingStatus; |
||
76 | $this->provisioningStatus = $this->loadbalancer->provisioningStatus; |
||
77 | $this->listeners = $this->loadbalancer->listeners; |
||
78 | unset($this->loadbalancer); |
||
79 | } |
||
80 | } |
||
81 | } |
||
82 |