src/php/Webforge/Common/System/Dir.php
public function wrapWith($wrapperName, $driveStyle = NULL) {
    $this->wrapper = $wrapperName;

    $this->prefix = $this->wrapper.'://'.$this->getOSPrefix(self::UNIX, $driveStyle ?: self::WINDOWS_DRIVE_WINDOWS_STYLE);

    return $this;
  }
public function wrapWith($wrapperName, $driveStyle = NULL) {
    $this->wrapper = $wrapperName;

    $this->prefix = $this->wrapper.'://'.$this->getOSPrefix(self::UNIX, $driveStyle ?: self::WINDOWS_DRIVE_WINDOWS_STYLE);

    return $this;
  }
public function wrapWith ( $ wrapperName , $ driveStyle = NULL ) { $ this -> wrapper = $ wrapperName ; $ this -> prefix = $ this -> wrapper . '://' . $ this -> getOSPrefix ( self :: UNIX , $ driveStyle ? : self :: WINDOWS_DRIVE_WINDOWS_STYLE ) ; return $ this ; }
Wraps the dir with the wrapper and converts windows paths

@param string only the name of the wrapper like file or vfs or phar
Wraps the dir with the wrapper and converts windows paths