getRow($numRow) : $this->getRows(); } /** * {@inheritdoc} */ public function setRows($rows){ $this->rows = $rows; return $this; } /** * {@inheritdoc} */ public function getRows(){ return $this->rows; } /** * {@inheritdoc} */ public function setRow($row){ $this->row = $row; return $this; } /** * {@inheritdoc} */ public function getRow($numRow = false){ return $numRow ? ($this->rows[$numRow + 1]?? null ) : $this->row; } /** * * {@inheritdoc} */ public function setNumRows($num){ $this->num_rows = $num; return $this; } /** * {@inheritdoc} */ public function getNumRows(){ return $this->num_rows; } }