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