src/Bridge/Doctrine/Orm/Util/QueryBuilderHelper.php
private static function mapJoinAliases(iterable $joins): array
    {
        $aliasMap = [];

        foreach ($joins as $join) {
            $alias = $join->getAlias();
            $relationship = $join->getJoin();

            if (false !== strpos($relationship, '.')) {
                $aliasMap[$alias] = explode('.', $relationship);
            } else {
                $aliasMap[$alias] = $relationship;
            }
        }

        return $aliasMap;
    }
private static function mapJoinAliases(iterable $joins): array
    {
        $aliasMap = [];

        foreach ($joins as $join) {
            $alias = $join->getAlias();
            $relationship = $join->getJoin();

            if (false !== strpos($relationship, '.')) {
                $aliasMap[$alias] = explode('.', $relationship);
            } else {
                $aliasMap[$alias] = $relationship;
            }
        }

        return $aliasMap;
    }
private static function mapJoinAliases ( iterable $ joins ) : array { $ aliasMap = [ ] ; foreach ( $ joins as $ join ) { $ alias = $ join -> getAlias ( ) ; $ relationship = $ join -> getJoin ( ) ; if ( false !== strpos ( $ relationship , '.' ) ) { $ aliasMap [ $ alias ] = explode ( '.' , $ relationship ) ; } else { $ aliasMap [ $ alias ] = $ relationship ; } } return $ aliasMap ; }
Maps the join aliases to the parent alias and association, or the entity class.

@return array<string, string[]|string>
Maps the join aliases to the parent alias and association or the entity class .