/**
* @return string[]
*/
private function getNamespaceHierarchy(): array
{ if ($this->namespaceHierarchy
) { return $this->namespaceHierarchy;
} $namespaceHierarchy =
$this->namespaceHierarchyBuilder->
buildHierarchy();
$this->
defineCache($namespaceHierarchy);
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
));