PHP 클래스 Eris\Quantifier\ForAll

파일 보기 프로젝트 열기: giorgiosironi/eris 1 사용 예제들

공개 메소드들

메소드 설명
__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

비공개 메소드들

메소드 설명
antecedentsAreSatisfied ( array $values )
generatorsFrom ( $supposedToBeGenerators )
notifyListeners ( )
terminationConditionsAreSatisfied ( )

메소드 상세

__call() 공개 메소드

public __call ( $method, $arguments )

__construct() 공개 메소드

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

__invoke() 공개 메소드

public __invoke ( callable $assertion )
$assertion callable

disableShrinking() 공개 메소드

public disableShrinking ( ) : self
리턴 self

hook() 공개 메소드

public hook ( Eris\Listener $listener ) : self
$listener Eris\Listener
리턴 self

stopOn() 공개 메소드

public stopOn ( Eris\Quantifier\TerminationCondition $terminationCondition ) : self
$terminationCondition Eris\Quantifier\TerminationCondition
리턴 self

when() 공개 메소드

.., $constraintN) when(callable $takesNArguments) when(Antecedent $antecedent)
public when ( ) : self
리턴 self

withMaxSize() 공개 메소드

public withMaxSize ( integer $maxSize ) : self
$maxSize integer
리턴 self