src/Date/DateInterval.php
public function totalSeconds() : int
    {
        return $this->days * 86400 + $this->h * 3600 + $this->i * 60 + $this->s;
    }
public function totalSeconds() : int
    {
        return $this->days * 86400 + $this->h * 3600 + $this->i * 60 + $this->s;
    }
public function totalSeconds ( ) : int { return $ this -> days * 86400 + $ this -> h * 3600 + $ this -> i * 60 + $ this -> s ; }
Get the total number of seconds from the DateInterval.

@return integer
Get the total number of seconds from the DateInterval .