Consolidation\Cgr\FileSystemUtils::allInstalledProjectsInOneOrg PHP Метод

allInstalledProjectsInOneOrg() защищенный статический Метод

Find all installed projects in one organization dir.
protected static allInstalledProjectsInOneOrg ( $globalBaseDir, $org ) : string[]
Результат string[]
    protected static function allInstalledProjectsInOneOrg($globalBaseDir, $org)
    {
        $globalOrgDir = "{$globalBaseDir}/{$org}";
        $projects = array();
        $projectDirs = static::listDirectories($globalOrgDir);
        foreach ($projectDirs as $projectDir) {
            if (is_file("{$globalOrgDir}/{$projectDir}/composer.json")) {
                $projects[] = "{$org}/{$projectDir}";
            }
        }
        return $projects;
    }