public function addParsedObject($object) { if ($object instanceof TTableCell) { $this->getCells()->add($object); } }