lib/PHPPdf/Core/Parser/XmlDocumentParser.php
public function parse($content, StylesheetConstraint $stylesheetConstraint = null)
    {
        if($stylesheetConstraint !== null)
        {
            $this->setStylesheetConstraint($stylesheetConstraint);
        }

        $pageCollection = parent::parse($content);
        
        $this->fireOnEndParsing($pageCollection);

        $this->initialize();

        return $pageCollection;
    }
public function parse($content, StylesheetConstraint $stylesheetConstraint = null)
    {
        if($stylesheetConstraint !== null)
        {
            $this->setStylesheetConstraint($stylesheetConstraint);
        }

        $pageCollection = parent::parse($content);
        
        $this->fireOnEndParsing($pageCollection);

        $this->initialize();

        return $pageCollection;
    }
public function parse ( $ content , StylesheetConstraint $ stylesheetConstraint = null ) { if ( $ stylesheetConstraint !== null ) { $ this -> setStylesheetConstraint ( $ stylesheetConstraint ) ; } $ pageCollection = parent :: parse ( $ content ) ; $ this -> fireOnEndParsing ( $ pageCollection ) ; $ this -> initialize ( ) ; return $ pageCollection ; }
Parses document and build graph of Node

@return PageCollection Root of node's graph
Parses document and build graph of Node