src/Requests/SettingRequests.php
public function createOrUpdate($key, array $input, array $queryParams = [])
    {
        $response = $this->client->put($this->uri($key), [
            RequestOptions::JSON => ['setting' => $input],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
public function createOrUpdate($key, array $input, array $queryParams = [])
    {
        $response = $this->client->put($this->uri($key), [
            RequestOptions::JSON => ['setting' => $input],
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }
public function createOrUpdate ( $ key , array $ input , array $ queryParams = [ ] ) { $ response = $ this -> client -> put ( $ this -> uri ( $ key ) , [ RequestOptions :: JSON => [ 'setting' => $ input ] , 'query' => $ queryParams , ] ) ; return $ this -> handleResponse ( $ response ) ; }
Create or update a setting

@param string $key
@param array $input
@param array $queryParams
@return Response
Create or update a setting