value) { return true; } if ($comparator === Comparator::NOTEQUAL && $value !== $this->value) { return true; } if ($comparator === Comparator::IN && in_array($this->value, $value)) { return true; } if ($comparator === Comparator::NOTIN && !in_array($this->value, $value)) { return true; } return false; } }