StrategyInterface
interface StrategyInterface
StrategyInterface defines an interface to indicate when a quorum is met and can be met.
Methods
bool
isMet(int$numberOfSuccess,int$numberOfItems)
Returns whether or not the quorum is met.
bool
canBeMet(int$numberOfFailure,int$numberOfItems)
Returns whether or not the quorum could be met.