/**
* {@inheritdoc}
*
* @throws \Exception
*/
public function getUrls(SalesChannelContext
$context, int
$limit, ?int
$offset = null
): UrlResult
{ $products =
$this->
getProducts($context,
$limit,
$offset);
if (empty($products)) { return new UrlResult([], null
);
} $keys = FetchModeHelper::
keyPair($products);
$seoUrls =
$this->
getSeoUrls(array_values($keys), 'frontend.detail.page',
$context,
$this->connection
);
$seoUrls = FetchModeHelper::
groupUnique($seoUrls);
$urls =
[];
$url =
new Url();