| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function __construct(Repository $config) |
||
| 30 | { |
||
| 31 | // Get the config data |
||
| 32 | $this->config = $config; |
||
| 33 | |||
| 34 | // Make the client instance |
||
| 35 | $this->client = new Client($this->config->get('plesk.host')); |
||
| 36 | $this->client->setCredentials($this->config->get('plesk.login'), $this->config->get('plesk.password')); |
||
| 37 | } |
||
| 38 | |||
| 51 | } |