src/Property/Event/RecurrenceRule.php
public function setBySecond($value)
    {
        if (!is_integer($value) || $value < 0 || $value > 60) {
            throw new \InvalidArgumentException('Invalid value for BYSECOND');
        }

        $this->bySecond = $value;

        $this->canUseBySetPos = true;

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

        $this->bySecond = $value;

        $this->canUseBySetPos = true;

        return $this;
    }
public function setBySecond ( $ value ) { if ( ! is_integer ( $ value ) || $ value < 0 || $ value > 60 ) { throw new \ InvalidArgumentException ( 'Invalid value for BYSECOND' ) ; } $ this -> bySecond = $ value ; $ this -> canUseBySetPos = true ; return $ this ; }
The BYSECOND rule part specifies a COMMA-separated list of seconds within a minute.
Valid values are 0 to 60.

@param int $value

@return $this

@throws \InvalidArgumentException
The BYSECOND rule part specifies a COMMA - separated list of seconds within a minute . Valid values are 0 to 60 .