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

at line line 22
static withClockMock($enable = null)

Parameters

$enable

at line line 31
static time()

at line line 40
static sleep($s)

Parameters

$s

at line line 51
static usleep($us)

Parameters

$us

at line line 60
static microtime($asFloat = false)

Parameters

$asFloat

at line line 73
static date($format, $timestamp = null)

Parameters

$format
$timestamp

at line line 82
static register($class)

Parameters

$class