original_string: public function endsWithIgnoreCase($substring) {
  		$substring = mb_strtolower($substring, $this->encoding);
  		$substringLength = mb_strlen($substring, $this->encoding);
  		$endOfStr = mb_strtolower(mb_substr($this->string, $this->length() - $substringLength, $substringLength, $this->encoding));
  
  		return (string) $substring === $endOfStr;
  	}
code: public function endsWithIgnoreCase($substring) {
  		$substring = mb_strtolower($substring, $this->encoding);
  		$substringLength = mb_strlen($substring, $this->encoding);
  		$endOfStr = mb_strtolower(mb_substr($this->string, $this->length() - $substringLength, $substringLength, $this->encoding));
  
  		return (string) $substring === $endOfStr;
  	}
code_tokens: public function endsWithIgnoreCase ( $ substring ) { $ substring = mb_strtolower ( $ substring , $ this -> encoding ) ; $ substringLength = mb_strlen ( $ substring , $ this -> encoding ) ; $ endOfStr = mb_strtolower ( mb_substr ( $ this -> string , $ this -> length ( ) - $ substringLength , $ substringLength , $ this -> encoding ) ) ; return ( string ) $ substring === $ endOfStr ; }
docstring: Checks whether the string ends with the given string. Ingores case.
  
  @see Text::endsWith()
  @param string|Text $substring The substring to look for
  @return boolean
docstring_tokens: Checks whether the string ends with the given string . Ingores case .