|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| aggregate ($key, $value, QueryString $query) | |
Does not aggregate nested query string values and allows duplicates in the resulting array
Example: http://test.com?q=1&q=2
Definition at line 12 of file DuplicateAggregator.php.
| Guzzle\Http\QueryAggregator\DuplicateAggregator::aggregate | ( | $key, | |
| $value, | |||
| QueryString | $query | ||
| ) |
Aggregate multi-valued parameters into a flattened associative array
| string | $key | The name of the query string parameter |
| array | $value | The values of the parameter |
| QueryString | $query | The query string that is being aggregated |
Implements Guzzle\Http\QueryAggregator\QueryAggregatorInterface.
Definition at line 14 of file DuplicateAggregator.php.
References Guzzle\Http\QueryString\encodeValue(), and Guzzle\Http\QueryString\isUrlEncoding().