public function getLastRow()
    {
        $rows = $this->data['rows'];
        if (empty($rows)) {
            return false;
        }

        $row = array_slice($rows, count($rows) - 1);

        return current($row);
    }
public function getLastRow()
    {
        $rows = $this->data['rows'];
        if (empty($rows)) {
            return false;
        }

        $row = array_slice($rows, count($rows) - 1);

        return current($row);
    }
public function getLastRow ( ) { $ rows = $ this -> data [ 'rows' ] ; if ( empty ( $ rows ) ) { return false ; } $ row = array_slice ( $ rows , count ( $ rows ) - 1 ) ; return current ( $ row ) ; }
Return the last row.

@return bool|array
Return the last row .