src/Builder.php
function normalizeSlashes($str, $sep='/')
    {
        $result = preg_replace('/[\\/\\\]+/', $sep, $str);
        return $result === null ? '' : $result;
    }
function normalizeSlashes($str, $sep='/')
    {
        $result = preg_replace('/[\\/\\\]+/', $sep, $str);
        return $result === null ? '' : $result;
    }
function normalizeSlashes ( $ str , $ sep = '/' ) { $ result = preg_replace ( '/[\\/\\\]+/' , $ sep , $ str ) ; return $ result === null ? '' : $ result ; }
Normalize slashes in a string to use forward slashes only
@param string $str
@param string $sep
@return string
Normalize slashes in a string to use forward slashes only