FOF30\Platform\Joomla\Filesystem::pathClean PHP Méthode

pathClean() public méthode

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).
Résultat string The cleaned path.
    public function pathClean($path, $ds = DIRECTORY_SEPARATOR)
    {
        return \JPath::clean($path, $ds);
    }