public function setMinutes(int $minutes): void
    {
        $this->timeElementsAreValid($this->hours, $minutes, $this->seconds);

        $this->minutes = $minutes;
    }
public function setMinutes(int $minutes): void
    {
        $this->timeElementsAreValid($this->hours, $minutes, $this->seconds);

        $this->minutes = $minutes;
    }
public function setMinutes ( int $ minutes ) : void { $ this -> timeElementsAreValid ( $ this -> hours , $ minutes , $ this -> seconds ) ; $ this -> minutes = $ minutes ; }
Set the minutes.

@param integer $minutes The minutes
Set the minutes .