protected function getPageDocument()
    {
        $documentBuilder = GeneralUtility::makeInstance(Builder::class);
        $document = $documentBuilder->fromPage($this->page, $this->pageUrl, $this->pageAccessRootline, (string)$this->mountPointParameter);

        self::$pageSolrDocumentId = $document['id'];

        return $document;
    }
protected function getPageDocument()
    {
        $documentBuilder = GeneralUtility::makeInstance(Builder::class);
        $document = $documentBuilder->fromPage($this->page, $this->pageUrl, $this->pageAccessRootline, (string)$this->mountPointParameter);

        self::$pageSolrDocumentId = $document['id'];

        return $document;
    }
protected function getPageDocument ( ) { $ documentBuilder = GeneralUtility :: makeInstance ( Builder :: class ) ; $ document = $ documentBuilder -> fromPage ( $ this -> page , $ this -> pageUrl , $ this -> pageAccessRootline , ( string ) $ this -> mountPointParameter ) ; self :: $ pageSolrDocumentId = $ document [ 'id' ] ; return $ document ; }
Builds the Solr document for the current page.

@return Document A document representing the page
Builds the Solr document for the current page .