original_string: public function get_capability_manager(forum_entity $forum) {
          return new capability_manager(
              $forum,
              $this->legacydatamapperfactory->get_forum_data_mapper(),
              $this->legacydatamapperfactory->get_discussion_data_mapper(),
              $this->legacydatamapperfactory->get_post_data_mapper()
          );
      }
code: public function get_capability_manager(forum_entity $forum) {
          return new capability_manager(
              $forum,
              $this->legacydatamapperfactory->get_forum_data_mapper(),
              $this->legacydatamapperfactory->get_discussion_data_mapper(),
              $this->legacydatamapperfactory->get_post_data_mapper()
          );
      }
code_tokens: public function get_capability_manager ( forum_entity $ forum ) { return new capability_manager ( $ forum , $ this -> legacydatamapperfactory -> get_forum_data_mapper ( ) , $ this -> legacydatamapperfactory -> get_discussion_data_mapper ( ) , $ this -> legacydatamapperfactory -> get_post_data_mapper ( ) ) ; }
docstring: Create a capability manager for the given forum.
  
  @param forum_entity $forum The forum to manage capabilities for
  @return capability_manager
docstring_tokens: Create a capability manager for the given forum .