ResponseTranslator
final class ResponseTranslator (View source)
CNR ResponseTranslator
Methods
static string
translate(string $raw, array $cmd, array $ph = [])
translate a raw api response
static string
replacePlaceholders(string $raw, array $ph)
Replace known placeholders in DESCRIPTION while preserving literal brace content.
Details
static string
translate(string $raw, array $cmd, array $ph = [])
translate a raw api response
static protected string
replacePlaceholders(string $raw, array $ph)
Replace known placeholders in DESCRIPTION while preserving literal brace content.