Interface QueryAggregatorInterface
Interface used for aggregating nested query string variables into a flattened array of key value pairs
Direct known implementers
Guzzle\Http\QueryAggregator\CommaAggregator
,
Guzzle\Http\QueryAggregator\DuplicateAggregator
,
Guzzle\Http\QueryAggregator\PhpAggregator
Namespace: Guzzle\Http\QueryAggregator
Located at Guzzle/Http/QueryAggregator/QueryAggregatorInterface.php
Located at Guzzle/Http/QueryAggregator/QueryAggregatorInterface.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