コード例 #1
0
 public function setUp()
 {
     $this->_stringContains = \Hamcrest\Text\StringContainsIgnoringCase::containsStringIgnoringCase(strtolower(self::EXCERPT));
 }
コード例 #2
0
 /**
  * Matches if value is a string that contains $substring regardless of the case.
  */
 function containsStringIgnoringCase($substring)
 {
     return \Hamcrest\Text\StringContainsIgnoringCase::containsStringIgnoringCase($substring);
 }