| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 45.45% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Manager extends Resource { |
||
| 11 | |||
| 12 | 2 | public function ListContainers() : array { |
|
| 13 | 2 | $request = Request::get("https://api.csfcloud.com/container?key=" . urlencode($this->keymanager->GetServerKey())) |
|
| 14 | 2 | ->expectsText()->send(); |
|
| 15 | 2 | $cntlist = json_decode($request->body, true); |
|
| 16 | 2 | return $cntlist; |
|
| 17 | } |
||
| 18 | |||
| 19 | public function GetContainer(string $id) : Container { |
||
| 21 | } |
||
| 22 | |||
| 23 | public function NewContainer(string $template = '') : Container { |
||
| 29 | } |