/** * Specify $type criteria for the current field. * * @see Expr::type() * @see http://docs.mongodb.org/manual/reference/operator/type/ * @param integer $type * @return self */ public function type($type) { $this->expr->type($type); return $this; }
/** * Specify $type criteria for the current field. * * @see Expr::type() * @see http://docs.mongodb.org/manual/reference/operator/type/ * @param integer $type * @return $this */ public function type($type) { $this->query->type($type); return $this; }