3 namespace Caxy\HtmlDiff\Table;
8 class TableCell extends AbstractTableElement
18 public function getRow()
24 * @param TableRow|null $row
28 public function setRow(TableRow $row = null)
32 if (null !== $row && !in_array($this, $row->getCells())) {
42 public function getColspan()
44 return (int) $this->getAttribute('colspan') ?: 1;
50 public function getRowspan()
52 return (int) $this->getAttribute('rowspan') ?: 1;