Protected
Static
findFinds a match in the given text and performs replacements based on patterns and placeholders.
This function searches for a specified regular expression pattern in the provided text and performs replacements based on the matched pattern, command data, and placeholder values.
The regular expression pattern to search for.
The input text where the match will be searched for.
The value to be used in replacement if a match is found.
The command data containing replacements, if applicable.
An array of placeholder values for further replacements.
Returns non-empty string if replacements were performed, empty string otherwise.
Static
translatetranslate a raw api response
API raw response
requested API command
list of place holder vars
new translated raw response
ResponseTranslator class