PhpunitMemoryAndTimeUsageListener\Domain\Measurement\TimeMeasurement::timeInMilliseconds PHP Method

timeInMilliseconds() public method

public timeInMilliseconds ( ) : integer
return integer
    public function timeInMilliseconds()
    {
        return $this->toMilliseconds($this->quantity());
    }

Usage Example

 /**
  * Check if test execution time is critical so we need to check it out
  *
  * @return bool
  */
 protected function isAPotentialCriticalTimeUsage()
 {
     return $this->checkEdgeIsOverTaken($this->executionTime->timeInMilliseconds(), $this->executionTimeEdge);
 }