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

Method getAllowedFilterColumn

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

Source from the content-addressed store, hash-verified

402 }
403
404 private function getAllowedFilterColumn(string $column): ?string
405 {
406 if (in_array($column, self::FILTERABLE_COLUMNS, true)) {
407 return $column;
408 }
409
410 $this->logger->warning('Blocked unsupported filter column', ['column' => $column]);
411 return null;
412 }
413}

Callers 1

applyFilterOptionsMethod · 0.95

Calls 1

warningMethod · 0.45

Tested by

no test coverage detected