function ClassMapGenerator::isAbsolutePath
Checks if the given path is absolute
Parameters
string $path:
Return value
bool
See also
Composer\Util\Filesystem::isAbsolutePath
1 call to ClassMapGenerator::isAbsolutePath()
- ClassMapGenerator::scanPaths in vendor/
composer/ class-map-generator/ src/ ClassMapGenerator.php - Iterate over all files in the given directory searching for classes
File
-
vendor/
composer/ class-map-generator/ src/ ClassMapGenerator.php, line 274
Class
- ClassMapGenerator
- ClassMapGenerator
Namespace
Composer\ClassMapGeneratorCode
private static function isAbsolutePath(string $path) {
return strpos($path, '/') === 0 || substr($path, 1, 1) === ':' || strpos($path, '\\\\') === 0;
}