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.
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 )