Пример #1
0
 public static function setUpBeforeClass()
 {
     /* Setup virtual file system. */
     self::$vfs = vfsStream::setup('root/');
     self::$rootPath = Core\Config()->paths('root');
     /* Modify root path to point to the virtual file system. */
     Core\Config()->modifyPath('root', vfsStream::url('root/'));
 }