درباره این درس
You may one day find yourself in need of a way to test against a file system, without resorting to mocks or actually creating and deleting real files. In these scenarios, a virtual file system, like vfsStream is an excellent choice! In this lesson, we'll use BDD to build a Filesystem class, using vfsStream and PHPSpec. View the source for this lesson on GitHub.