original_string: public function get_context() {
          if (isset($this->context)) {
              return $this->context;
          }
          $this->context = \context::instance_by_id($this->data['contextid'], IGNORE_MISSING);
          return $this->context;
      }
code: public function get_context() {
          if (isset($this->context)) {
              return $this->context;
          }
          $this->context = \context::instance_by_id($this->data['contextid'], IGNORE_MISSING);
          return $this->context;
      }
code_tokens: public function get_context ( ) { if ( isset ( $ this -> context ) ) { return $ this -> context ; } $ this -> context = \ context :: instance_by_id ( $ this -> data [ 'contextid' ] , IGNORE_MISSING ) ; return $ this -> context ; }
docstring: Returns event context.
  @return \context
docstring_tokens: Returns event context .