src/helpers/ArrayHelper.php
public static function replaceAssoc(array $replace, string $subject){
        return str_replace(array_keys($replace), array_values($replace), $subject);
    }
public static function replaceAssoc(array $replace, string $subject){
        return str_replace(array_keys($replace), array_values($replace), $subject);
    }
public static function replaceAssoc ( array $ replace , string $ subject ) { return str_replace ( array_keys ( $ replace ) , array_values ( $ replace ) , $ subject ) ; }
Associative analogue str_replace.
@param array  $replace
@param string $subject
@return string
Associative analogue str_replace .