class StopWatch

Class StopWatch Small utility class to measure the time of something.

Methods

__construct(AbstractStorage $storage)

StopWatch constructor.

start()

To start the measurement.

stop($metric, $key)

No description

Details

at line line 40
__construct(AbstractStorage $storage)

StopWatch constructor.

Parameters

AbstractStorage $storage the storage to store the result at

at line line 47
start()

To start the measurement.

at line line 59
stop($metric, $key)

Parameters

$metric
$key