ClockMock

ClockMock

class ClockMock

Methods

static withClockMock($enable = null)
static time()
static sleep($s)
static usleep($us)
static microtime($asFloat = false)
static register($class)

Details

static withClockMock($enable = null)

Parameters

登录查看完整内容
$enable