{ } /**
* @throws CategoryNotFoundException
* @throws InconsistentCriteriaIdsException
* @throws RoutingException
*/
public function load(Request
$request, SalesChannelContext
$salesChannelContext): NewsletterSubscribePage
{ $page =
$this->genericLoader->
load($request,
$salesChannelContext);
$page = NewsletterSubscribePage::
createFrom($page);
$this->eventDispatcher->
dispatch( new NewsletterSubscribePageLoadedEvent($page,
$salesChannelContext,
$request) );
return $page;
}}