public function last()
    {
        $where = $this->where;

        $whereData = $this->where_data_binding;

        // We count all.
        $c = $this->count();

        $this->where = $where;

        $this->where_data_binding = $whereData;

        return $this->jump($c - 1)
            ->take(1)->first();
    }
public function last()
    {
        $where = $this->where;

        $whereData = $this->where_data_binding;

        // We count all.
        $c = $this->count();

        $this->where = $where;

        $this->where_data_binding = $whereData;

        return $this->jump($c - 1)
            ->take(1)->first();
    }
public function last ( ) { $ where = $ this -> where ; $ whereData = $ this -> where_data_binding ; // We count all. $ c = $ this -> count ( ) ; $ this -> where = $ where ; $ this -> where_data_binding = $ whereData ; return $ this -> jump ( $ c - 1 ) -> take ( 1 ) -> first ( ) ; }
Get the last record

@return mixed
Get the last record