function let()
 {
     VfsStream::setup('root_dir', null, ['foo.txt' => 'foobar']);
     $this->beConstructedWith(VfsStream::url('root_dir'));
 }
Пример #2
0
 protected function create_virtual_filesystem($structure = [])
 {
     VfsStream::setup('root_dir', null, $structure);
     config(['content.root' => VfsStream::url('root_dir')]);
 }