public function in($propertyName, $operand)
{
if (!is_array($operand) && !$operand instanceof \ArrayAccess && !$operand instanceof \Traversable) {
throw new InvalidQueryException('The "in" constraint must be given a multi-valued operand (array, ArrayAccess, Traversable).', 1264678095);
}
if ($this->classSchema->isMultiValuedProperty($propertyName)) {
throw new InvalidQueryException('Property "' . $propertyName . '" must not be multi-valued.', 1276777034);
}
return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, '_entity'), QueryInterface::OPERATOR_IN, $operand);
}