public function in($operandDefinition)
{
$this->operator = 'in';
$this->operand = $this->getValueForOperand($operandDefinition);
if (is_array($this->operand) === false && $this->operand instanceof \Traversable === false) {
throw new InvalidPolicyException(sprintf('The "in" operator needs an array as operand! Got: "%s"', $this->operand), 1416313526);
}
foreach ($this->operand as $iterator => $singleOperandValueDefinition) {
$this->operandDefinition['inOperandValue' . $iterator] = $singleOperandValueDefinition;
}
return $this;
}