original_string: private function get_exported_discussion(stdClass $user) : array {
          $discussionexporter = $this->exporterfactory->get_discussion_exporter(
              $user,
              $this->forum,
              $this->discussion,
              $this->get_groups_available_in_forum()
          );
  
          return (array) $discussionexporter->export($this->renderer);
      }
code: private function get_exported_discussion(stdClass $user) : array {
          $discussionexporter = $this->exporterfactory->get_discussion_exporter(
              $user,
              $this->forum,
              $this->discussion,
              $this->get_groups_available_in_forum()
          );
  
          return (array) $discussionexporter->export($this->renderer);
      }
code_tokens: private function get_exported_discussion ( stdClass $ user ) : array { $ discussionexporter = $ this -> exporterfactory -> get_discussion_exporter ( $ user , $ this -> forum , $ this -> discussion , $ this -> get_groups_available_in_forum ( ) ) ; return ( array ) $ discussionexporter -> export ( $ this -> renderer ) ; }
docstring: Get the exported discussion.
  
  @param stdClass $user The user viewing the discussion
  @return array
docstring_tokens: Get the exported discussion .