src/tad/WPBrowser/Module/Support/DbDump.php
public function replaceSiteDomainInMultisiteSqlArray(array $sql)
    {
        if (empty($sql)) {
            return [];
        }

        $delimiter = md5(uniqid('delim', true));
        $joined = implode($delimiter, $sql);
        $replaced = $this->replaceSiteDomainInMultisiteSqlString($joined);

        return explode($delimiter, $replaced);
    }
public function replaceSiteDomainInMultisiteSqlArray(array $sql)
    {
        if (empty($sql)) {
            return [];
        }

        $delimiter = md5(uniqid('delim', true));
        $joined = implode($delimiter, $sql);
        $replaced = $this->replaceSiteDomainInMultisiteSqlString($joined);

        return explode($delimiter, $replaced);
    }
public function replaceSiteDomainInMultisiteSqlArray ( array $ sql ) { if ( empty ( $ sql ) ) { return [ ] ; } $ delimiter = md5 ( uniqid ( 'delim' , true ) ) ; $ joined = implode ( $ delimiter , $ sql ) ; $ replaced = $ this -> replaceSiteDomainInMultisiteSqlString ( $ joined ) ; return explode ( $ delimiter , $ replaced ) ; }
Replaces the site domain in the multisite tables of an array of SQL dump strings.

@param array $sql The input SQL dump array.

@return array The modified SQL array.
Replaces the site domain in the multisite tables of an array of SQL dump strings .