function Path::toLower
2 calls to Path::toLower()
- Path::getExtension in vendor/
symfony/ filesystem/ Path.php - Returns the extension from a file path (without leading dot).
- Path::hasExtension in vendor/
symfony/ filesystem/ Path.php - Returns whether the path has an (or the specified) extension.
File
-
vendor/
symfony/ filesystem/ Path.php, line 804
Class
- Path
- Contains utility methods for handling path strings.
Namespace
Symfony\Component\FilesystemCode
private static function toLower(string $string) : string {
if (false !== ($encoding = mb_detect_encoding($string, null, true))) {
return mb_strtolower($string, $encoding);
}
return strtolower($string);
}