protected static function transformReplacement(array $words, $replace)
    {
        return array_map(function ($value) use ($replace) {
            return str_repeat($replace, mb_strlen($value));
        }, $words);
    }
protected static function transformReplacement(array $words, $replace)
    {
        return array_map(function ($value) use ($replace) {
            return str_repeat($replace, mb_strlen($value));
        }, $words);
    }
protected static function transformReplacement ( array $ words , $ replace ) { return array_map ( function ( $ value ) use ( $ replace ) { return str_repeat ( $ replace , mb_strlen ( $ value ) ) ; } , $ words ) ; }
Get words replacement.

@param array $words
@param string $replace

@return array
Get words replacement .