src/FieldData.php
public function getPages(): array
    {
        if ($this->_pages !== null) {
            return $this->_pages;
        }

        $this->_pages = [];
        $pages = explode('<!--pagebreak-->', (string)$this);

        foreach ($pages as $page) {
            $this->_pages[] = new \Twig_Markup($page, Craft::$app->charset);
        }

        return $this->_pages;
    }
public function getPages(): array
    {
        if ($this->_pages !== null) {
            return $this->_pages;
        }

        $this->_pages = [];
        $pages = explode('<!--pagebreak-->', (string)$this);

        foreach ($pages as $page) {
            $this->_pages[] = new \Twig_Markup($page, Craft::$app->charset);
        }

        return $this->_pages;
    }
public function getPages ( ) : array { if ( $ this -> _pages !== null ) { return $ this -> _pages ; } $ this -> _pages = [ ] ; $ pages = explode ( '<!--pagebreak-->' , ( string ) $ this ) ; foreach ( $ pages as $ page ) { $ this -> _pages [ ] = new \ Twig_Markup ( $ page , Craft :: $ app -> charset ) ; } return $ this -> _pages ; }
Returns an array of the individual page contents.

@return \Twig_Markup[]
Returns an array of the individual page contents .