Slightly different from Javascript or Kotlin, this is a class created to get results from the website as well as to retrieve content from a file without you being afraid of causing performance loss.
/** * @throwsThrowable * * Use this to read a file or url. */publicstaticfunctionread(string $path) :Promise;/** * @throwsThrowable * * Use this to write to a file. */publicstaticfunctionwrite(string $path,string $data) :Promise;/** * @throwsThrowable * * Use this to append to a file. */publicstaticfunctionappend(string $path,string $data) :Promise;/** * @throwsThrowable * * Use this to delete a file. */publicstaticfunctiondelete(string $path) :Promise;/** * @throwsThrowable * * Use this to create a file. */publicstaticfunctioncreate(string $path) :Promise;/** * @throwsThrowable * * Use this to create a file or overwrite a file. */publicstaticfunctionoverWrite(string $path,string $data) :Promise;