original_string: protected static function define_related() {
          $related = parent::define_related();
          $related['daylink'] = \moodle_url::class;
          $related['type'] = '\core_calendar\type_base';
          $related['today'] = 'int';
          $related['moduleinstance'] = 'stdClass?';
  
          return $related;
      }
code: protected static function define_related() {
          $related = parent::define_related();
          $related['daylink'] = \moodle_url::class;
          $related['type'] = '\core_calendar\type_base';
          $related['today'] = 'int';
          $related['moduleinstance'] = 'stdClass?';
  
          return $related;
      }
code_tokens: protected static function define_related ( ) { $ related = parent :: define_related ( ) ; $ related [ 'daylink' ] = \ moodle_url :: class ; $ related [ 'type' ] = '\core_calendar\type_base' ; $ related [ 'today' ] = 'int' ; $ related [ 'moduleinstance' ] = 'stdClass?' ; return $ related ; }
docstring: Returns a list of objects that are related.
  
  @return array
docstring_tokens: Returns a list of objects that are related .