Symfony\Component\Stopwatch\StopwatchEvent::formatTime
Formats a time.
Signature
private function formatTime(integer|float
$time )
Parameters
$time
— object- A raw time
Returns
- float
- The formatted time
Errors/Exceptions
-
InvalidArgumentException
- When the raw time is not valid