Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
phpmock
environment
SleepEnvironmentBuilder
setTimestamp
phpmock\environment\SleepEnvironmentBuilder::setTimestamp PHP Method
SleepEnvironmentBuilder Class Documentation
Datei anzeigen
Open project: php-mock/php-mock
setTimestamp()
public
method
If not set the mock will use the current time at creation time. The timestamp can be an int, a float with microseconds or a string in the microtime() format.
public
setTimestamp
(
mixed
$timestamp
) :
SleepEnvironmentBuilder
$timestamp
mixed
The timestamp.
return
SleepEnvironmentBuilder
public function setTimestamp($timestamp) { $this->timestamp = $timestamp; return $this; }
SleepEnvironmentBuilder
addNamespace
build
setTimestamp