src/Duration.php
public function plusSeconds(int $seconds) : Duration
    {
        if ($seconds === 0) {
            return $this;
        }

        return new Duration($this->seconds + $seconds, $this->nanos);
    }
public function plusSeconds(int $seconds) : Duration
    {
        if ($seconds === 0) {
            return $this;
        }

        return new Duration($this->seconds + $seconds, $this->nanos);
    }
public function plusSeconds ( int $ seconds ) : Duration { if ( $ seconds === 0 ) { return $ this ; } return new Duration ( $ this -> seconds + $ seconds , $ this -> nanos ) ; }
Returns a copy of this Duration with the specified duration in seconds added.

@param int $seconds

@return \Brick\DateTime\Duration
Returns a copy of this Duration with the specified duration in seconds added .