NullTimer
class NullTimer implements TimerInterface
Implementation of TimerInterface that does not actually record any time.
Used in production to reduce overhead.
Methods
__construct()
Empty constructor for forward compatibility.
void
start()
Starts the timer.
void
stop()
Stops the timer.
bool
isRunning()
No description
float|null
getDuration()
No description
Details
at line 19
__construct()
Empty constructor for forward compatibility.
at line 23
void
start()
Starts the timer.
at line 27
void
stop()
Stops the timer.