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

Method getRequestCacheKey

lib/Controller/OutputController.php:191–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 }
190
191 private function getRequestCacheKey(): ?string {
192 $clientETag = $this->request->getHeader('If-None-Match');
193 if ($clientETag === null || $clientETag === '') {
194 return null;
195 }
196 return trim($clientETag, '"');
197 }
198
199 private function getDatasourceCacheKey(array $reportMetadata, ?string $clientCacheKey): ?string {
200 if ($clientCacheKey === null || $clientCacheKey === '') {

Callers 3

readMethod · 0.95
readPanoramaMethod · 0.95
evaluateIfNoneMatchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected