return $this->namespaceHierarchy =
array_keys($namespaceHierarchy);
} /**
* @param string[] $queue
*/
private function defineCache(array
$queue): void
{ if ($this->twig->
getCache(false
) instanceof FilesystemCache
) { $configHash =
md5((string) json_encode($queue, \JSON_THROW_ON_ERROR
));
$fileSystemCache =
new ConfigurableFilesystemCache($this->cacheDir
);
$fileSystemCache->
setConfigHash($configHash);
$fileSystemCache->
setTemplateScopes($this->templateScopeDetector->
getScopes());
// Set individual twig cache for different configurations
$this->twig->
setCache($fileSystemCache);
} }}