thornag/php-vfs — pull request #18 by thornag (2014-04-27 14:49:34+00:00)
Title: Structure recreate support

@milesj in #15 mentioned following:

------------------------------------------
On a side note, it would be nice to have a method like `createStructure()` that can easily create nested files and folders.

$vfs->createStructure([
'folder1' => [
'file1.txt' => 'contents',
'file2.php' => ' []
]
]);
------------------------------------------