Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
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
Afficher le fichier
Open project: php-mock/php-mock
Méthodes protégées
Méthode
Description
convertToSeconds
(
$amount
)
Method Details
convertToSeconds()
protected
méthode
protected
convertToSeconds
(
$amount
)