Open Journal Systems  3.3.0
Guzzle\Http\QueryAggregator\CommaAggregator Class Reference
Inheritance diagram for Guzzle\Http\QueryAggregator\CommaAggregator:
Guzzle\Http\QueryAggregator\QueryAggregatorInterface

Public Member Functions

 aggregate ($key, $value, QueryString $query)
 

Detailed Description

Aggregates nested query string variables using commas

Definition at line 10 of file CommaAggregator.php.

Member Function Documentation

◆ aggregate()

Guzzle\Http\QueryAggregator\CommaAggregator::aggregate (   $key,
  $value,
QueryString  $query 
)

Aggregate multi-valued parameters into a flattened associative array

Parameters
string$keyThe name of the query string parameter
array$valueThe values of the parameter
QueryString$queryThe query string that is being aggregated
Returns
array Returns an array of the combined values

Implements Guzzle\Http\QueryAggregator\QueryAggregatorInterface.

Definition at line 12 of file CommaAggregator.php.

References Guzzle\Http\QueryString\encodeValue(), and Guzzle\Http\QueryString\isUrlEncoding().


The documentation for this class was generated from the following file: