Example #1
0
 function setUp()
 {
     vfsStreamWrapper::register();
     $root = new vfsStreamDirectory('root');
     $root->addChild(new vfsStreamDirectory('template'));
     $root->addChild(new vfsStreamDirectory('scripts'));
     $root->addChild(new vfsStreamDirectory('target'));
     vfsStreamWrapper::setRoot($root);
     Generator::$template_path = vfsStream::url('root/template');
     Generator::$script_path = vfsStream::url('root/scripts');
     Generator::$nimble_root = vfsStream::url('root');
 }