private static function buildName(string
$salesChannelId, string
$domainId, string
$languageId): string
{ return 'error-page-' .
$salesChannelId .
$domainId .
$languageId;
} private function generateKey(string
$salesChannelId, string
$domainId, string
$languageId, Request
$request, SalesChannelContext
$context): string
{ $key = self::
buildName($salesChannelId,
$domainId,
$languageId) .
md5($this->generator->
getSalesChannelContextHash($context));
$event =
new NotFoundPageCacheKeyEvent($key,
$request,
$context);
$this->eventDispatcher->
dispatch($event);
return $event->
getKey();
} /**
* @return array<string>
*/
private function generateTags(string
$name, Request
$request, SalesChannelContext
$context): array
{