/**
* @return array<string>
*/
private function generateTags(string
$name, Request
$request, SalesChannelContext
$context): array
{ $tags =
array_merge( $this->cacheTracer->
get($name),
[$name, self::ALL_TAG
] );
$event =
new NotFoundPageTagsEvent($tags,
$request,
$context);
$this->eventDispatcher->
dispatch($event);
return array_unique(array_filter($event->
getTags()));
} private function setSalesChannelContext(Request
$request): void
{ $salesChannelId =
(string) $request->attributes->
get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID
);
$context =
$this->contextService->
get(