public function getTotalTimestampInterval(): float
    {
        $retval = 0;
        foreach ($this->intervals as $interval) {
            $retval += $interval->getTimestampInterval();
        }

        return $retval;
    }
public function getTotalTimestampInterval(): float
    {
        $retval = 0;
        foreach ($this->intervals as $interval) {
            $retval += $interval->getTimestampInterval();
        }

        return $retval;
    }
public function getTotalTimestampInterval ( ) : float { $ retval = 0 ; foreach ( $ this -> intervals as $ interval ) { $ retval += $ interval -> getTimestampInterval ( ) ; } return $ retval ; }
Returns the sum of all instances durations as expressed in seconds.
Returns the sum of all instances durations as expressed in seconds .