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()
        );
    }
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()
        );
    }
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 ( ) ) ; }
Create a capability manager for the given forum.

@param forum_entity $forum The forum to manage capabilities for
@return capability_manager
Create a capability manager for the given forum .