/**
* @throws InconsistentCriteriaIdsException
*/
public function load(Request
$request, SalesChannelContext
$context): SitemapPage
{ $page =
new SitemapPage();
$page->
setSitemaps($this->sitemapRoute->
load($request,
$context)->
getSitemaps()->
getElements());
$this->eventDispatcher->
dispatch( new SitemapPageLoadedEvent($page,
$context,
$request) );
return $page;
}}