src/Webtrees/Module/AdminTasks/Model/AbstractTask.php
public function setParameters($is_enabled, \DateTime $last_updated, $last_result, $frequency, $nb_occur, $is_running){
        $this->is_enabled = $is_enabled;
        $this->last_updated = $last_updated;
        $this->last_result = $last_result;
        $this->frequency = $frequency;
        $this->nb_occurrences = $nb_occur;
        $this->is_running = $is_running;
    }
public function setParameters($is_enabled, \DateTime $last_updated, $last_result, $frequency, $nb_occur, $is_running){
        $this->is_enabled = $is_enabled;
        $this->last_updated = $last_updated;
        $this->last_result = $last_result;
        $this->frequency = $frequency;
        $this->nb_occurrences = $nb_occur;
        $this->is_running = $is_running;
    }
public function setParameters ( $ is_enabled , \ DateTime $ last_updated , $ last_result , $ frequency , $ nb_occur , $ is_running ) { $ this -> is_enabled = $ is_enabled ; $ this -> last_updated = $ last_updated ; $ this -> last_result = $ last_result ; $ this -> frequency = $ frequency ; $ this -> nb_occurrences = $ nb_occur ; $ this -> is_running = $ is_running ; }
Set parameters of the Task

@param bool $is_enabled Status of the task
@param \DateTime $lastupdated Time of the last task run
@param bool $last_result Result of the last run, true for success, false for failure
@param int $frequency Frequency of execution in minutes
@param int $nb_occur Number of remaining occurrences, 0 for tasks not limited
@param bool $is_running Indicates if the task is currently running
Set parameters of the Task