class ClockMock

Methods

static 
withClockMock($enable = null)

No description

static 
time()

No description

static 
sleep($s)

No description

static 
usleep($us)

No description

static 
microtime($asFloat = false)

No description

static 
date($format, $timestamp = null)

No description

static 
register($class)

No description

Details

static withClockMock($enable = null)

Parameters

$enable

static time()

static sleep($s)

Parameters

$s

static usleep($us)

Parameters

$us

static microtime($asFloat = false)

Parameters

$asFloat

static date($format, $timestamp = null)

Parameters

$format
$timestamp

static register($class)

Parameters

$class