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

Method getAllowedFilterColumn

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

Source from the content-addressed store, hash-verified

421 }
422
423 private function getAllowedFilterColumn(string $column): ?string
424 {
425 if (in_array($column, self::FILTERABLE_COLUMNS, true)) {
426 return $column;
427 }
428
429 $this->logger->warning('Blocked unsupported filter column', ['column' => $column]);
430 return null;
431 }
432}

Callers 1

applyFilterOptionsMethod · 0.95

Calls 1

warningMethod · 0.45

Tested by

no test coverage detected