@php-wasm/universalFunctionswriteFileswriteFiles CallablewriteFiles(php: UniversalPHP, root: string, newFiles: Record<string, string | Uint8Array>, options?: WriteFilesOptions): Promise<void>Writes multiple files to a specified directory in the Playground filesystem.@exampleawait writeFiles(php, '/test', { 'file.txt': 'file', 'sub/file.txt': 'file', 'sub1/sub2/file.txt': 'file',});Parametersphp: UniversalPHProot: stringnewFiles: Record<string, string | Uint8Array>options: WriteFilesOptions = {}Returns Promise<void>
Writes multiple files to a specified directory in the Playground filesystem.