()
| 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 === '') { |
no outgoing calls
no test coverage detected