/** * Merge rows into the form. * * @param Table $parent * @param Table $child */ protected function mergeFields(Table $parent, Table $child) { foreach ($child->getRows() as $row) { $parent->addRow($row); } }
/** * Add a row to the table. * * @param RowInterface $row * @return $this */ public function addTableRow(RowInterface $row) { $this->table->addRow($row); return $this; }