Controller/AccountsController.php
public function retrieveSetting($key, CachePolicy $cachePolicy = null)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->get('v1/accounts/settings/' . $key . '', $parameters, $cachePolicy);

        return $result;
    }
public function retrieveSetting($key, CachePolicy $cachePolicy = null)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->get('v1/accounts/settings/' . $key . '', $parameters, $cachePolicy);

        return $result;
    }
Fetches a setting.

Fetches a setting for the current user.

@param string      $key         The key of the setting to fetch..
@param CachePolicy $cachePolicy a custom cache policy used for this request only

@return array