original_string: public function escapeLikePattern(string $pattern): string {
  		$esc = $this->getLikeEscapeCharacter();
  		return str_replace(array($esc, QueryComparator::LIKE_WILDCARD_MANY_CHARS,
  				QueryComparator::LIKE_WILDCARD_ONE_CHAR),
  				array($esc . $esc,  $esc . QueryComparator::LIKE_WILDCARD_MANY_CHARS, $esc .
  						QueryComparator::LIKE_WILDCARD_ONE_CHAR), $pattern);
  	}
code: public function escapeLikePattern(string $pattern): string {
  		$esc = $this->getLikeEscapeCharacter();
  		return str_replace(array($esc, QueryComparator::LIKE_WILDCARD_MANY_CHARS,
  				QueryComparator::LIKE_WILDCARD_ONE_CHAR),
  				array($esc . $esc,  $esc . QueryComparator::LIKE_WILDCARD_MANY_CHARS, $esc .
  						QueryComparator::LIKE_WILDCARD_ONE_CHAR), $pattern);
  	}
code_tokens: public function escapeLikePattern ( string $ pattern ) : string { $ esc = $ this -> getLikeEscapeCharacter ( ) ; return str_replace ( array ( $ esc , QueryComparator :: LIKE_WILDCARD_MANY_CHARS , QueryComparator :: LIKE_WILDCARD_ONE_CHAR ) , array ( $ esc . $ esc , $ esc . QueryComparator :: LIKE_WILDCARD_MANY_CHARS , $ esc . QueryComparator :: LIKE_WILDCARD_ONE_CHAR ) , $ pattern ) ; }
docstring: Quotes the like wildcard chars
  @param string $pattern
docstring_tokens: Quotes the like wildcard chars