Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
phpmock
functions
SleepFunction
PHP Class phpmock\functions\SleepFunction
This function doesn't sleep. It returns immediatly. All registered Incrementable objects (time() or microtime() mocks) get increased by the passed seconds.
See link:
Donations
Author:
Markus Malkusch (
[email protected]
)
Inheritance:
extends
AbstractSleepFunction
Show file
Open project: php-mock/php-mock
Protected Methods
Method
Description
convertToSeconds
(
$amount
)
Method Details
convertToSeconds()
protected
method
protected
convertToSeconds
(
$amount
)