NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class PhpAggregator

Aggregates nested query string variables using PHP style []

  Guzzle\Http\QueryAggregator\PhpAggregator implements Guzzle\Http\QueryAggregator\QueryAggregatorInterface

Namespace: Guzzle\Http\QueryAggregator
Located at Guzzle/Http/QueryAggregator/PhpAggregator.php

## Methods summary

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

  Aggregate multi-valued parameters into a flattened associative array

## Methods detail

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

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

#### Implementation of

`Guzzle\Http\QueryAggregator\QueryAggregatorInterface::aggregate()`

### Magic methods summary