Eris\Shrinker\Random::checkGoodShrinkConditions PHP Метод

checkGoodShrinkConditions() приватный Метод

private checkGoodShrinkConditions ( GeneratedValue $values )
$values Eris\Generator\GeneratedValue
    private function checkGoodShrinkConditions(GeneratedValue $values)
    {
        foreach ($this->goodShrinkConditions as $condition) {
            if (!$condition($values)) {
                return false;
            }
        }
        return true;
    }