public function insertAt($index, $item) { if ($item instanceof TTableCell) { parent::insertAt($index, $item); } else { throw new TInvalidDataTypeException('tablecellcollection_tablecell_required'); } }