source/Core/FileSystem/FileSystem.php
public function combinePaths()
    {
        $pathElements = func_get_args();
        foreach ($pathElements as $key => $pathElement) {
            $pathElements[$key] = rtrim($pathElement, DIRECTORY_SEPARATOR);
        }

        return implode(DIRECTORY_SEPARATOR, $pathElements);
    }
public function combinePaths()
    {
        $pathElements = func_get_args();
        foreach ($pathElements as $key => $pathElement) {
            $pathElements[$key] = rtrim($pathElement, DIRECTORY_SEPARATOR);
        }

        return implode(DIRECTORY_SEPARATOR, $pathElements);
    }
public function combinePaths ( ) { $ pathElements = func_get_args ( ) ; foreach ( $ pathElements as $ key => $ pathElement ) { $ pathElements [ $ key ] = rtrim ( $ pathElement , DIRECTORY_SEPARATOR ) ; } return implode ( DIRECTORY_SEPARATOR , $ pathElements ) ; }
Connect all parameters with backslash to single path.
Ensure that no double backslash appears if parameter already ends with backslash.

@return string
Connect all parameters with backslash to single path . Ensure that no double backslash appears if parameter already ends with backslash .