public function getNextPage()
    {
        return ($this->record)
            ? $this->getManifest()->getNextPage(
                $this->record->getPath(),
                $this->getEntity()->getPath()
            )
            : null;
    }
public function getNextPage()
    {
        return ($this->record)
            ? $this->getManifest()->getNextPage(
                $this->record->getPath(),
                $this->getEntity()->getPath()
            )
            : null;
    }
public function getNextPage ( ) { return ( $ this -> record ) ? $ this -> getManifest ( ) -> getNextPage ( $ this -> record -> getPath ( ) , $ this -> getEntity ( ) -> getPath ( ) ) : null ; }
Returns the next page. Either retrieves the sibling of the current page
or return the next sibling of the parent page.

@return DocumentationPage|null
Returns the next page . Either retrieves the sibling of the current page or return the next sibling of the parent page .