FOF30\Platform\FilesystemInterface::pathClean PHP Method

pathClean() public method

Function to strip additional / or \ in a path name.
public pathClean ( string $path, string $ds = DIRECTORY_SEPARATOR ) : string
$path string The path to clean.
$ds string Directory separator (optional).
return string The cleaned path.
    public function pathClean($path, $ds = DIRECTORY_SEPARATOR);