public function getFirstRow()
    {
        if (count($this->rows) == 0) {
            if (!is_null($this->summaryRow)) {
                return $this->summaryRow;
            }
            return false;
        }
        return reset($this->rows);
    }
public function getFirstRow()
    {
        if (count($this->rows) == 0) {
            if (!is_null($this->summaryRow)) {
                return $this->summaryRow;
            }
            return false;
        }
        return reset($this->rows);
    }
public function getFirstRow ( ) { if ( count ( $ this -> rows ) == 0 ) { if ( ! is_null ( $ this -> summaryRow ) ) { return $ this -> summaryRow ; } return false ; } return reset ( $ this -> rows ) ; }
Returns the first row of the DataTable.

@return Row|false The first row or `false` if it cannot be found.
Returns the first row of the DataTable .