Provide a function for combining multi-valued query string parameters into a single or multiple fields
callable|null $callback A function or callback array that accepts a $key, $value, $encodeFields, and: $encodeValues as arguments and returns an associative array containing the combined values. Set to null to remove any custom aggregator.
\Guzzle\Http\QueryString::aggregateUsingComma()
public function setAggregateFunction($callback) {
$this->aggregator = $callback;
}