Overview

Namespaces

  • phpmock
    • environment
    • functions
    • spy

Classes

  • AbstractSleepFunction
  • FixedDateFunction
  • FixedMicrotimeFunction
  • FixedValueFunction
  • SleepFunction
  • UsleepFunction

Interfaces

  • FunctionProvider
  • Incrementable
  • Overview
  • Namespace
  • Class

Class UsleepFunction

Mock function for usleep().

This function doesn't sleep. It returns immediatly. All registered Incrementable objects (time() or microtime() mocks) get increased by the passed seconds.

phpmock\functions\AbstractSleepFunction implements phpmock\functions\FunctionProvider
Extended by phpmock\functions\UsleepFunction
Namespace: phpmock\functions
License: WTFPL
Author: Markus Malkusch markus@malkusch.de
Link: Donations
Located at functions/UsleepFunction.php
Methods inherited from phpmock\functions\AbstractSleepFunction
__construct(), addIncrementable(), getCallable()
API documentation generated by ApiGen