code: public function setLoadedPage($loadedPage)
      {
          $this->dispatch(Event\PageEvents::PAGE_VIEW, new Event\PageViewEvent($loadedPage));
          $this->loadedPage = $loadedPage;
      }
docs: Set the loaded page, and trigger a view event
  
  @param PageInterface $loadedPage