Méthode | Description | |
---|---|---|
__call ( $method, $arguments ) | ||
__construct ( array $generators, $iterations, $shrinkerFactory, $rand ) | ||
__invoke ( callable $assertion ) | ||
disableShrinking ( ) : self | ||
hook ( Eris\Listener $listener ) : self | ||
stopOn ( Eris\Quantifier\TerminationCondition $terminationCondition ) : self | ||
when ( ) : self | Examples of calls: when($constraint1, $constraint2, . | |
withMaxSize ( integer $maxSize ) : self |
Méthode | Description | |
---|---|---|
antecedentsAreSatisfied ( array $values ) | ||
generatorsFrom ( $supposedToBeGenerators ) | ||
notifyListeners ( ) | ||
terminationConditionsAreSatisfied ( ) |
public __construct ( array $generators, $iterations, $shrinkerFactory, $rand ) | ||
$generators | array |
public hook ( Eris\Listener $listener ) : self | ||
$listener | Eris\Listener | |
Résultat | self |
public stopOn ( Eris\Quantifier\TerminationCondition $terminationCondition ) : self | ||
$terminationCondition | Eris\Quantifier\TerminationCondition | |
Résultat | self |
public when ( ) : self | ||
Résultat | self |
public withMaxSize ( integer $maxSize ) : self | ||
$maxSize | integer | |
Résultat | self |