public function getPointEvent($typeId = null)
    {
        $this->buildQuery();
        $query = $this->eventQuery;

        if(! is_null($typeId)){
            $query->where('point_event_type_id' ,$typeId);
        }

        return $this->doQuery();
    }
public function getPointEvent($typeId = null)
    {
        $this->buildQuery();
        $query = $this->eventQuery;

        if(! is_null($typeId)){
            $query->where('point_event_type_id' ,$typeId);
        }

        return $this->doQuery();
    }
public function getPointEvent ( $ typeId = null ) { $ this -> buildQuery ( ) ; $ query = $ this -> eventQuery ; if ( ! is_null ( $ typeId ) ) { $ query -> where ( 'point_event_type_id' , $ typeId ) ; } return $ this -> doQuery ( ) ; }
get user point event

@return \Illuminate\Database\Eloquent\Collection|static[]
get user point event