src/Duration.php
public function getTotalMicros() : int
    {
        $micros = $this->seconds * 1000000;
        $micros += \intdiv($this->nanos, 1000);

        return $micros;
    }
public function getTotalMicros() : int
    {
        $micros = $this->seconds * 1000000;
        $micros += \intdiv($this->nanos, 1000);

        return $micros;
    }
public function getTotalMicros ( ) : int { $ micros = $ this -> seconds * 1000000 ; $ micros += \ intdiv ( $ this -> nanos , 1000 ) ; return $ micros ; }
Returns the total number of microseconds in this Duration.

The result is rounded towards negative infinity.

@return int
Returns the total number of microseconds in this Duration .