PHP Class Eris\Quantifier\ForAll

Afficher le fichier Open project: giorgiosironi/eris Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
antecedentsAreSatisfied ( array $values )
generatorsFrom ( $supposedToBeGenerators )
notifyListeners ( )
terminationConditionsAreSatisfied ( )

Method Details

__call() public méthode

public __call ( $method, $arguments )

__construct() public méthode

public __construct ( array $generators, $iterations, $shrinkerFactory, $rand )
$generators array

__invoke() public méthode

public __invoke ( callable $assertion )
$assertion callable

disableShrinking() public méthode

public disableShrinking ( ) : self
Résultat self

hook() public méthode

public hook ( Eris\Listener $listener ) : self
$listener Eris\Listener
Résultat self

stopOn() public méthode

public stopOn ( Eris\Quantifier\TerminationCondition $terminationCondition ) : self
$terminationCondition Eris\Quantifier\TerminationCondition
Résultat self

when() public méthode

.., $constraintN) when(callable $takesNArguments) when(Antecedent $antecedent)
public when ( ) : self
Résultat self

withMaxSize() public méthode

public withMaxSize ( integer $maxSize ) : self
$maxSize integer
Résultat self