public function escapeKeyVal($key, $val) { if (empty($key)) { throw new InvalidArgumentException("'key' param invalid."); } return sprintf('%s = %s', $this->escapeIdentifier($key), $this->escape($val)); }