trait PollingTrait (View source)

internal  
 

Methods

float
getCurrentTimeMillis()

Protected to allow overriding for tests

sleepMillis(int $millis)

Protected to allow overriding for tests

Details

protected float getCurrentTimeMillis()

Protected to allow overriding for tests

Return Value

float

Current time in milliseconds

protected sleepMillis(int $millis)

Protected to allow overriding for tests

Parameters

int $millis