/** * Compares two or more arrays and returns true if they have the same * distinct elements and false otherwise. * * 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/setEquals/ * @see Expr::setEquals * @param mixed|Expr $expression1 * @param mixed|Expr $expression2 * @param mixed|Expr $expression3,... Additional sets * @return $this */ public function setEquals($expression1, $expression2) { $this->expr->setEquals(...func_get_args()); return $this; }