()
| 226 | } |
| 227 | |
| 228 | private function getRequestCacheKey(): ?string { |
| 229 | $clientETag = $this->request->getHeader('If-None-Match'); |
| 230 | if ($clientETag === null || $clientETag === '') { |
| 231 | return null; |
| 232 | } |
| 233 | return trim($clientETag, '"'); |
| 234 | } |
| 235 | |
| 236 | private function getDatasourceCacheKey(array $reportMetadata, ?string $clientCacheKey): ?string { |
| 237 | if ($clientCacheKey === null || $clientCacheKey === '') { |
no outgoing calls
no test coverage detected