function ClassMapGenerator::getCwd
See also
Composer\Util\Platform::getCwd
2 calls to ClassMapGenerator::getCwd()
- ClassMapGenerator::filterByNamespace in vendor/
composer/ class-map-generator/ src/ ClassMapGenerator.php - Remove classes which could not have been loaded by namespace autoloaders
- 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 332
Class
- ClassMapGenerator
- ClassMapGenerator
Namespace
Composer\ClassMapGeneratorCode
private static function getCwd() : string {
$cwd = getcwd();
if (false === $cwd) {
throw new \RuntimeException('Could not determine the current working directory');
}
return $cwd;
}