protected function normalizeRelativeWindowsPath(
        RelativeWindowsPathInterface $path
    ) {
        if ($path->isAnchored()) {
            $atoms = $this->normalizeAbsolutePathAtoms($path->atoms());
        } else {
            $atoms = $this->normalizeRelativePathAtoms($path->atoms());
        }

        return $this->factory()->createFromDriveAndAtoms(
            $atoms,
            $this->normalizeDriveSpecifier($path->drive()),
            false,
            $path->isAnchored(),
            false
        );
    }
protected function normalizeRelativeWindowsPath(
        RelativeWindowsPathInterface $path
    ) {
        if ($path->isAnchored()) {
            $atoms = $this->normalizeAbsolutePathAtoms($path->atoms());
        } else {
            $atoms = $this->normalizeRelativePathAtoms($path->atoms());
        }

        return $this->factory()->createFromDriveAndAtoms(
            $atoms,
            $this->normalizeDriveSpecifier($path->drive()),
            false,
            $path->isAnchored(),
            false
        );
    }
protected function normalizeRelativeWindowsPath ( RelativeWindowsPathInterface $ path ) { if ( $ path -> isAnchored ( ) ) { $ atoms = $ this -> normalizeAbsolutePathAtoms ( $ path -> atoms ( ) ) ; } else { $ atoms = $ this -> normalizeRelativePathAtoms ( $ path -> atoms ( ) ) ; } return $ this -> factory ( ) -> createFromDriveAndAtoms ( $ atoms , $ this -> normalizeDriveSpecifier ( $ path -> drive ( ) ) , false , $ path -> isAnchored ( ) , false ) ; }
Normalize a relative Windows path.

@param RelativeWindowsPathInterface $path The path to normalize.

@return RelativeWindowsPathInterface The normalized path.
Normalize a relative Windows path .