The judge or chancellor may then, upon such bill and answer, hear such cause, at chambers, as upon motion to dissolve the injunction, the judge’s or chancellor’s decision to be in a written decree, which decree, together with the bill, answer, and exhibits, shall be enclosed in a sealed envelope, to the clerk of the court in which the bill is filed, such decree to constitute a part of the record in the cause, in conformity to the terms of which, the clerk may take bonds from either party, or execute any other order as adjudged in such decree.