lib/PHPPdf/Core/Node/Node.php
public function flush()
    {
        $this->ancestorWithFontSize = null;
        $this->ancestorWithRotation = null;
        $this->closestAncestorWithPosition = null;

        foreach($this->getChildren() as $child)
        {
            $child->flush();
        }

        $this->removeAll();
    }
public function flush()
    {
        $this->ancestorWithFontSize = null;
        $this->ancestorWithRotation = null;
        $this->closestAncestorWithPosition = null;

        foreach($this->getChildren() as $child)
        {
            $child->flush();
        }

        $this->removeAll();
    }
public function flush ( ) { $ this -> ancestorWithFontSize = null ; $ this -> ancestorWithRotation = null ; $ this -> closestAncestorWithPosition = null ; foreach ( $ this -> getChildren ( ) as $ child ) { $ child -> flush ( ) ; } $ this -> removeAll ( ) ; }
Free references to other object, after this method invocation
Node is in invalid state!
Free references to other object after this method invocation Node is in invalid state!