private function renderPage(PageInterface $page)
    {
        if ($this->pageRenderer && $this->pageRenderer->supports($page)) {
            return $this
                ->pageRenderer
                ->render($page);
        }

        return $page->getContent();
    }
private function renderPage(PageInterface $page)
    {
        if ($this->pageRenderer && $this->pageRenderer->supports($page)) {
            return $this
                ->pageRenderer
                ->render($page);
        }

        return $page->getContent();
    }
private function renderPage ( PageInterface $ page ) { if ( $ this -> pageRenderer && $ this -> pageRenderer -> supports ( $ page ) ) { return $ this -> pageRenderer -> render ( $ page ) ; } return $ page -> getContent ( ) ; }
Renders page content.

@param PageInterface $page

@return string Page content
Renders page content .