QueryAggregatorInterface
in
Interface used for aggregating nested query string variables into a flattened array of key value pairs
Table of Contents
Methods
- aggregate() : array<string|int, mixed>
- Aggregate multi-valued parameters into a flattened associative array
Methods
aggregate()
Aggregate multi-valued parameters into a flattened associative array
public
aggregate(string $key, array<string|int, mixed> $value, QueryString $query) : array<string|int, mixed>
Parameters
- $key : string
-
The name of the query string parameter
- $value : array<string|int, mixed>
-
The values of the parameter
- $query : QueryString
-
The query string that is being aggregated
Return values
array<string|int, mixed> —Returns an array of the combined values