| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function __construct(object $server) |
||
| 31 | { |
||
| 32 | $this->id = $server->id; |
||
| 33 | $this->name = $server->name; |
||
| 34 | $this->hostname = $server->hostname; |
||
| 35 | $this->ip = $server->ip; |
||
| 36 | $this->status = $server->status; |
||
| 37 | $this->region = $server->region; |
||
| 38 | $this->roles = $server->roles; |
||
| 39 | $this->amiType = $server->ami_type; |
||
| 40 | $this->configuration = $server->configuration; |
||
| 41 | $this->flags = $server->flags; |
||
| 42 | } |
||
| 44 |