Stopwatch
class Stopwatch
Properties
| array | $timers | All of the current timers. |
Methods
void
start(string $key)
Start a new timer.
float|null
check(string $key)
Check a given timer and get the elapsed time in milliseconds.
void
forget(string $key)
Forget a given timer.
Details
at line 17
void
start(string $key)
Start a new timer.
at line 25
float|null
check(string $key)
Check a given timer and get the elapsed time in milliseconds.
at line 35
void
forget(string $key)
Forget a given timer.