class NullStopwatchEvent extends StopwatchEvent (View source)

Methods

__construct(float $origin, string|null $category = null)

Constructor.

start()

No description

stop()

No description

getNow()

No description

getPeriods()

No description

getDuration()

No description

Details

__construct(float $origin, string|null $category = null)

Constructor.

Parameters

float $origin The origin time in milliseconds
string|null $category The event category or null to use the default

Exceptions

InvalidArgumentException When the raw time is not valid

start()

stop()

protected getNow()

getPeriods()

getDuration()