@php-wasm/universalFunctionswriteFileswriteFiles CallablewriteFiles(php: UniversalPHP, root: string, newFiles: FileTree, 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: FileTreeoptions: WriteFilesOptions = {}Returns Promise<void>
Writes multiple files to a specified directory in the Playground filesystem.