public function setByMinute($value)
    {
        if (!is_integer($value) || $value < 0 || $value > 59) {
            throw new \InvalidArgumentException('Invalid value for BYMINUTE');
        }

        $this->byMinute = $value;

        $this->canUseBySetPos = true;

        return $this;
    }
public function setByMinute($value)
    {
        if (!is_integer($value) || $value < 0 || $value > 59) {
            throw new \InvalidArgumentException('Invalid value for BYMINUTE');
        }

        $this->byMinute = $value;

        $this->canUseBySetPos = true;

        return $this;
    }
public function setByMinute ( $ value ) { if ( ! is_integer ( $ value ) || $ value < 0 || $ value > 59 ) { throw new \ InvalidArgumentException ( 'Invalid value for BYMINUTE' ) ; } $ this -> byMinute = $ value ; $ this -> canUseBySetPos = true ; return $ this ; }
The BYMINUTE rule part specifies a COMMA-separated list of minutes within an hour.
Valid values are 0 to 59.

@param int $value

@return $this

@throws \InvalidArgumentException
The BYMINUTE rule part specifies a COMMA - separated list of minutes within an hour . Valid values are 0 to 59 .