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

Method getAllowedFilterColumn

lib/Db/StorageMapper.php:435–443  ·  view source on GitHub ↗
(string $column)

Source from the content-addressed store, hash-verified

433 }
434
435 private function getAllowedFilterColumn(string $column): ?string
436 {
437 if (in_array($column, self::FILTERABLE_COLUMNS, true)) {
438 return $column;
439 }
440
441 $this->logger->warning('Blocked unsupported filter column', ['column' => $column]);
442 return null;
443 }
444}

Callers 1

applyFilterOptionsMethod · 0.95

Calls 1

warningMethod · 0.45

Tested by

no test coverage detected