Eris\Antecedent\IndependentConstraintsAntecedent::evaluate PHP Method

evaluate() public method

public evaluate ( array $values )
$values array
    public function evaluate(array $values)
    {
        for ($i = 0; $i < count($this->constraints); $i++) {
            // TODO: use Evaluation object?
            try {
                $this->constraints[$i]->evaluate($values[$i]);
            } catch (PHPUnit_Framework_ExpectationFailedException $e) {
                return false;
            }
        }
        return true;
    }
IndependentConstraintsAntecedent