private function get_provide_event_action_num_params(string $modulename) {
        $functionname = 'mod_' . $modulename . '_core_calendar_provide_event_action';
        $reflection = new \ReflectionFunction($functionname);
        return $reflection->getNumberOfParameters();
    }
private function get_provide_event_action_num_params(string $modulename) {
        $functionname = 'mod_' . $modulename . '_core_calendar_provide_event_action';
        $reflection = new \ReflectionFunction($functionname);
        return $reflection->getNumberOfParameters();
    }
private function get_provide_event_action_num_params ( string $ modulename ) { $ functionname = 'mod_' . $ modulename . '_core_calendar_provide_event_action' ; $ reflection = new \ ReflectionFunction ( $ functionname ) ; return $ reflection -> getNumberOfParameters ( ) ; }
Returns the number of params declared in core_calendar_provide_event_action's implementation.

@param  string $modulename The module name
@return int
Returns the number of params declared in core_calendar_provide_event_action s implementation .