Returns the escaped string.
Defaults to use the escapeStart and escapeEnd properties but can be overriden if a non-static replacement pattern is used.
string $string: String that should be escaped.
string
protected function getEscapedString($string) {
return $this->escapeStart . $string . $this->escapeEnd;
}