| @@ 49-57 (lines=9) @@ | ||
| 46 | /** |
|
| 47 | * @inheritdoc |
|
| 48 | */ |
|
| 49 | public function getGlobal($key) |
|
| 50 | { |
|
| 51 | $response = $this->perform('get-settings-storage', array_merge([ |
|
| 52 | 'key' => $key, |
|
| 53 | 'oauthClientBound' => false, |
|
| 54 | ])); |
|
| 55 | ||
| 56 | return $this->decodeResponse($response); |
|
| 57 | } |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @inheritdoc |
|
| @@ 62-70 (lines=9) @@ | ||
| 59 | /** |
|
| 60 | * @inheritdoc |
|
| 61 | */ |
|
| 62 | public function getBounded($key) |
|
| 63 | { |
|
| 64 | $response = $this->perform('get-settings-storage', array_merge([ |
|
| 65 | 'key' => $key, |
|
| 66 | 'oauthClientBound' => true, |
|
| 67 | ])); |
|
| 68 | ||
| 69 | return $this->decodeResponse($response); |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * Performs request to the API |
|