public function getSiteHashForDomain($domain)
    {
        static $siteHashes = [];
        if (isset($siteHashes[$domain])) {
            return $siteHashes[$domain];
        }

        $siteHashes[$domain] = sha1($domain . $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] . 'tx_solr');
        return $siteHashes[$domain];
    }
public function getSiteHashForDomain($domain)
    {
        static $siteHashes = [];
        if (isset($siteHashes[$domain])) {
            return $siteHashes[$domain];
        }

        $siteHashes[$domain] = sha1($domain . $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] . 'tx_solr');
        return $siteHashes[$domain];
    }
public function getSiteHashForDomain ( $ domain ) { static $ siteHashes = [ ] ; if ( isset ( $ siteHashes [ $ domain ] ) ) { return $ siteHashes [ $ domain ] ; } $ siteHashes [ $ domain ] = sha1 ( $ domain . $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'SYS' ] [ 'encryptionKey' ] . 'tx_solr' ) ; return $ siteHashes [ $ domain ] ; }
Gets the site hash for a domain

@param string $domain Domain to calculate the site hash for.
@return string site hash for $domain
Gets the site hash for a domain