Consolidation\Cgr\FileSystemUtils::allInstalledProjectsInBaseDir PHP Method

allInstalledProjectsInBaseDir() public static method

Find all installed projects in the global 'base-dir'.
public static allInstalledProjectsInBaseDir ( string $globalBaseDir ) : string[]
$globalBaseDir string
return string[]
    public static function allInstalledProjectsInBaseDir($globalBaseDir)
    {
        $projects = array();
        $orgs = static::listDirectories($globalBaseDir);
        foreach ($orgs as $org) {
            $projects = array_merge($projects, static::allInstalledProjectsInOneOrg($globalBaseDir, $org));
        }
        return $projects;
    }