phpmock\environment\SleepEnvironmentBuilder::setTimestamp PHP Method

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;
    }