/** * Takes two or more arrays and returns an array containing the elements * that appear in any input array. * * The arguments can be any valid expression as long as they each resolve to an array. * * @see http://docs.mongodb.org/manual/reference/operator/aggregation/setUnion/ * @see Expr::setUnion * @param mixed|Expr $expression1 * @param mixed|Expr $expression2 * @param mixed|Expr $expression3,... Additional sets * @return $this */ public function setUnion($expression1, $expression2) { $this->expr->setUnion(...func_get_args()); return $this; }