StopwatchEvent
StopwatchEvent
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. | |
$this | start() Starts a new event period. | |
$this | stop() Stops the last started event period. | |
bool | isStarted() Checks if the event was started. | |
$this |
|