Str::replaceReplacements()
Takes a replacement array and processes the replacements Used for Str::replace()
Parameters
Name | Type | Default | Description |
---|---|---|---|
$string * | string |
– | String being replaced on (haystack) |
$replacements * | array |
– | Replacement array from Str::replacements() |
Return type
string