class StopwatchEvent
Represents an Event managed by Stopwatch.
Methods
__construct(float $origin, string|null $category = null) Constructor.
string getCategory() Gets the category.
float getOrigin() Gets the origin.
StopwatchEvent start() Starts a new event period.
StopwatchEvent stop() Stops the last started event period.
bool isStarted() Checks if the event was started.
StopwatchEvent lap() Stops the current period and then starts a new one.
ensureSto