protected function buildConnectionLabel(array $connection)
    {
        return $connection['rootPageTitle']
            . ' (pid: ' . $connection['rootPageUid']
            . ', language: ' . $this->systemLanguageRepository->findOneLanguageTitleByLanguageId($connection['language'])
            . ') - Read node: '
            . $connection['read']['host'] . ':'
            . $connection['read']['port']
            . $connection['read']['path']
            .' - Write node: '
            . $connection['write']['host'] . ':'
            . $connection['write']['port']
            . $connection['write']['path'];
    }
protected function buildConnectionLabel(array $connection)
    {
        return $connection['rootPageTitle']
            . ' (pid: ' . $connection['rootPageUid']
            . ', language: ' . $this->systemLanguageRepository->findOneLanguageTitleByLanguageId($connection['language'])
            . ') - Read node: '
            . $connection['read']['host'] . ':'
            . $connection['read']['port']
            . $connection['read']['path']
            .' - Write node: '
            . $connection['write']['host'] . ':'
            . $connection['write']['port']
            . $connection['write']['path'];
    }
protected function buildConnectionLabel ( array $ connection ) { return $ connection [ 'rootPageTitle' ] . ' (pid: ' . $ connection [ 'rootPageUid' ] . ', language: ' . $ this -> systemLanguageRepository -> findOneLanguageTitleByLanguageId ( $ connection [ 'language' ] ) . ') - Read node: ' . $ connection [ 'read' ] [ 'host' ] . ':' . $ connection [ 'read' ] [ 'port' ] . $ connection [ 'read' ] [ 'path' ] . ' - Write node: ' . $ connection [ 'write' ] [ 'host' ] . ':' . $ connection [ 'write' ] [ 'port' ] . $ connection [ 'write' ] [ 'path' ] ; }
Creates a human readable label from the connections' configuration.

@param array $connection Connection configuration
@return string Connection label
Creates a human readable label from the connections configuration .