src/ORM/DataList.php
public function last()
    {
        foreach ($this->dataQuery->lastRow()->execute() as $row) {
            return $this->createDataObject($row);
        }
        return null;
    }
public function last()
    {
        foreach ($this->dataQuery->lastRow()->execute() as $row) {
            return $this->createDataObject($row);
        }
        return null;
    }
public function last ( ) { foreach ( $ this -> dataQuery -> lastRow ( ) -> execute ( ) as $ row ) { return $ this -> createDataObject ( $ row ) ; } return null ; }
Returns the last item in this DataList

@return DataObject
Returns the last item in this DataList