/** * (non-PHPdoc) * @see RtfElement::free() */ public function free() { foreach ($this->children as $child) { $child->free(); } parent::free(); }