class Lap

Stopwatch lap.

Properties

protected float $started Start time.
protected float $stopped Stop time.

Methods

float
getStartTime()

Returns the lap start time.

float
getStopTime()

Returns the lap stop time.

bool
isRunning()

Returns TRUE if the lap is still running and FALSE if not.

Lap
start()

Starts the lap.

float
stop()

Stops the lap and returns the elapsed time.

Details

at line 38
float getStartTime()

Returns the lap start time.

Return Value

float

at line 48
float getStopTime()

Returns the lap stop time.

Return Value

float

at line 58
bool isRunning()

Returns TRUE if the lap is still running and FALSE if not.

Return Value

bool

at line 68
Lap start()

Starts the lap.

Return Value

Lap

at line 80
float stop()

Stops the lap and returns the elapsed time.

Return Value

float