This is a function that will help you overwrite a file as well as create it if they don't already exist.
/** * @throws Throwable * * Use this to create a file or overwrite a file. */ public static function overWrite(string $path, string $data) : Promise;
Last updated 1 year ago