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
Show file Open project: php-mock/php-mock

Protected Methods

Method Description
convertToSeconds ( $amount )

Method Details

convertToSeconds() protected method

protected convertToSeconds ( $amount )