Class DuplicateAggregator
Does not aggregate nested query string values and allows duplicates in the resulting array
Example: http://test.com?q=1&q=2
- Guzzle\Http\QueryAggregator\DuplicateAggregator implements Guzzle\Http\QueryAggregator\QueryAggregatorInterface
Namespace: Guzzle\Http\QueryAggregator
Located at Guzzle/Http/QueryAggregator/DuplicateAggregator.php
Located at Guzzle/Http/QueryAggregator/DuplicateAggregator.php
Methods summary
-
public
aggregate ( string $key, array $value, Guzzle\Http\QueryString $query )
Aggregate multi-valued parameters into a flattened associative array
Methods detail
Aggregate multi-valued parameters into a flattened associative array
Parameters
- $key
string
$key The name of the query string parameter- $value
array
$value The values of the parameter- $query
Guzzle\Http\QueryString
$query The query string that is being aggregated
Returns
array
Returns an array of the combined values