|
@@ -9,13 +9,13 @@ |
|
|
block discarded – undo |
|
9
|
9
|
|
|
10
|
10
|
class Manager extends Resource { |
|
11
|
11
|
|
|
12
|
|
- public function ListContainers() : array { |
|
|
12
|
+ public function ListContainers () : array { |
|
13
|
13
|
$request = Request::get("https://api.csfcloud.com/container?key=" . urlencode($this->keymanager->GetServerKey()))->expectsText()->send(); |
|
14
|
14
|
$cntlist = json_decode($request->body, true); |
|
15
|
15
|
return $cntlist; |
|
16
|
16
|
} |
|
17
|
17
|
|
|
18
|
|
- public function GetContainer(string $id) : Container { |
|
|
18
|
+ public function GetContainer (string $id) : Container { |
|
19
|
19
|
return new Container($this->keymanager, $id); |
|
20
|
20
|
} |
|
21
|
21
|
|
Please login to merge, or discard this patch.