lib/PHPPdf/Core/Node/Node.php
public function format(Document $document)
    {        
        $this->preFormat($document);
        foreach($this->getChildren() as $child)
        {
            $child->format($document);
        }
        $this->postFormat($document);
    }
public function format(Document $document)
    {        
        $this->preFormat($document);
        foreach($this->getChildren() as $child)
        {
            $child->format($document);
        }
        $this->postFormat($document);
    }
public function format ( Document $ document ) { $ this -> preFormat ( $ document ) ; foreach ( $ this -> getChildren ( ) as $ child ) { $ child -> format ( $ document ) ; } $ this -> postFormat ( $ document ) ; }
Format node by given formatters.
Format node by given formatters .