/**
* @return string[]
*/
private function generateTags(string
$productId, Request
$request, ProductReviewRouteResponse
$response, SalesChannelContext
$context, Criteria
$criteria): array
{ $tags =
array_merge( $this->tracer->
get(self::
buildName($productId)),
[self::
buildName($productId)] );
$event =
new ProductDetailRouteCacheTagsEvent($tags,
$request,
$response,
$context,
$criteria);
$this->dispatcher->
dispatch($event);
return array_unique(array_filter($event->
getTags()));
}}