The provisions of this act shall apply to proceedings in both civil and criminal cases.
705 ILCS 305/23