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

Method publicMetadata

lib/Controller/ApiController.php:153–160  ·  view source on GitHub ↗
(array $report)

Source from the content-addressed store, hash-verified

151 }
152
153 private function publicMetadata(array $report): array {
154 return array_intersect_key($report, array_flip([
155 'id', 'name', 'subheader', 'type', 'parent', 'dataset', 'version',
156 'visualization', 'chart', 'chartoptions', 'dataoptions', 'tableoptions',
157 'filteroptions', 'refresh', 'permissions', 'isShare',
158 'storageMode', 'schemaVersion', 'columns', 'dimension1', 'dimension2', 'value',
159 ]));
160 }
161}

Callers 2

readMethod · 0.95
dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected