Interface Guzzle\Http\QueryAggregator\QueryAggregatorInterface

Implemented byGuzzle\Http\QueryAggregator\CommaAggregator, Guzzle\Http\QueryAggregator\DuplicateAggregator, Guzzle\Http\QueryAggregator\PhpAggregator

Interface used for aggregating nested query string variables into a flattened array of key value pairs

Public Methods

Hide inherited methods

MethodDescriptionDefined By
aggregate() Aggregate multi-valued parameters into a flattened associative array Guzzle\Http\QueryAggregator\QueryAggregatorInterface

Method Details

aggregate() public abstract method

Aggregate multi-valued parameters into a flattened associative array

public abstract array aggregate ( $key, $value, Guzzle\Http\QueryString $query )
$key string

The name of the query string parameter

$value array

The values of the parameter

$query Guzzle\Http\QueryString

The query string that is being aggregated

return array

Returns an array of the combined values