PHP Class Eris\Shrinker\FixedTimeLimit

Inheritance: implements Eris\Shrinker\TimeLimit
Show file Open project: giorgiosironi/eris

Public Methods

Method Description
__construct ( integer $maximumIntervalLength, callable $clock )
__toString ( )
hasBeenReached ( )
realTime ( $maximumIntervalLength )
start ( )

Method Details

__construct() public method

public __construct ( integer $maximumIntervalLength, callable $clock )
$maximumIntervalLength integer in seconds
$clock callable

__toString() public method

public __toString ( )

hasBeenReached() public method

public hasBeenReached ( )

realTime() public static method

public static realTime ( $maximumIntervalLength )

start() public method

public start ( )