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

Method buildExternalCacheKey

lib/Controller/OutputController.php:250–252  ·  view source on GitHub ↗
(array $reportMetadata, string $datasourceCacheKey)

Source from the content-addressed store, hash-verified

248 }
249
250 private function buildExternalCacheKey(array $reportMetadata, string $datasourceCacheKey): string {
251 return (string)((int)$reportMetadata['version']) . ':' . $datasourceCacheKey;
252 }
253
254 private function extractCacheMetadata(array $result): array {
255 $cache = ['cacheable' => false, 'key' => null, 'notModified' => false];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected