original_string: protected function get_legacy_eventdata() {
          $eventdata = new \stdClass();
          $eventdata->modulename = $this->other['modulename'];
          $eventdata->cmid       = $this->objectid;
          $eventdata->courseid   = $this->courseid;
          $eventdata->userid     = $this->userid;
          return $eventdata;
      }
code: protected function get_legacy_eventdata() {
          $eventdata = new \stdClass();
          $eventdata->modulename = $this->other['modulename'];
          $eventdata->cmid       = $this->objectid;
          $eventdata->courseid   = $this->courseid;
          $eventdata->userid     = $this->userid;
          return $eventdata;
      }
code_tokens: protected function get_legacy_eventdata ( ) { $ eventdata = new \ stdClass ( ) ; $ eventdata -> modulename = $ this -> other [ 'modulename' ] ; $ eventdata -> cmid = $ this -> objectid ; $ eventdata -> courseid = $ this -> courseid ; $ eventdata -> userid = $ this -> userid ; return $ eventdata ; }
docstring: Legacy event data.
  
  @return \stdClass
docstring_tokens: Legacy event data .