2 declare(strict_types = 1);
19 use Psr\Http\Message\ServerRequestInterface;
43 $cacheHashCalculator = GeneralUtility::makeInstance(CacheHashCalculator::class);
45 $GET = (
$GLOBALS[
'TYPO3_REQUEST'] instanceof ServerRequestInterface) ?
$GLOBALS[
'TYPO3_REQUEST']->getQueryParams() : [];
49 $cHashArray = $cacheHashCalculator->getRelevantParameters($queryString);
52 $urlParameters = GeneralUtility::explodeUrl2Array($queryString);
54 $paramsToExclude = array_keys(
61 return array_diff($paramsToExclude, $additionalCanonicalizedUrlParameters);