private static function implodeEntityPath(array $entityPath): string
    {
        $fields = [];
        foreach ($entityPath as $item) {
            $fields[] = $item['field'];
        }
        return implode(':', $fields);
    }
private static function implodeEntityPath(array $entityPath): string
    {
        $fields = [];
        foreach ($entityPath as $item) {
            $fields[] = $item['field'];
        }
        return implode(':', $fields);
    }
private static function implodeEntityPath ( array $ entityPath ) : string { $ fields = [ ] ; foreach ( $ entityPath as $ item ) { $ fields [ ] = $ item [ 'field' ] ; } return implode ( ':' , $ fields ) ; }
Reduce an entity path to the name that entity gets in the DQL, by linking field names with underscores
@param array[] $entityPath
@return string
Reduce an entity path to the name that entity gets in the DQL by linking field names with underscores