public function evaluate($other) { foreach ($this->constraints as $constraint) { if ($constraint->evaluate($other)) { return TRUE; } } return FALSE; }