public function getDurationInMilliseconds() : float
    {
        if ($this->stoppedOn === null) {
            throw new NotStoppedException();
        }

        return $this->toMilli($this->stoppedOn - $this->startedOn);
    }
public function getDurationInMilliseconds() : float
    {
        if ($this->stoppedOn === null) {
            throw new NotStoppedException();
        }

        return $this->toMilli($this->stoppedOn - $this->startedOn);
    }
public function getDurationInMilliseconds ( ) : float { if ( $ this -> stoppedOn === null ) { throw new NotStoppedException ( ) ; } return $ this -> toMilli ( $ this -> stoppedOn - $ this -> startedOn ) ; }
Get the elapsed Duration of this Timer in MilliSeconds

@throws \PhilKra\Exception\Timer\NotStoppedException

@return float
Get the elapsed Duration of this Timer in MilliSeconds