MCPcopy Create free account
hub / github.com/Rello/analytics / groupFiltersByDimension

Method groupFiltersByDimension

lib/Db/StorageMapper.php:366–374  ·  view source on GitHub ↗
(array $filters)

Source from the content-addressed store, hash-verified

364 }
365
366 private function groupFiltersByDimension(array $filters): array
367 {
368 $groups = [];
369 foreach ($filters as $key => $value) {
370 $dimension = $value['dimension'] ?? $key;
371 $groups[$dimension][] = $value;
372 }
373 return $groups;
374 }
375
376 private function buildFilterExpression(IQueryBuilder $sql, string $column, string $option, $value)
377 {

Callers 1

applyFilterOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected