| 1 | <?php | ||
| 7 | class StringContainsIgnoringWhiteSpace extends SubstringMatcher | ||
| 8 | { | ||
| 9 | /** | ||
| 10 | * Matches if value is a string that contains $substring consider all whitespace as single space | ||
| 11 | */ | ||
| 12 | 9 | public static function containsStringIgnoringWhiteSpace($substring) | |
| 16 | |||
| 17 | /** | ||
| 18 | * @param string $item | ||
| 19 | * | ||
| 20 | * @return bool | ||
| 21 | */ | ||
| 22 | 10 | protected function evalSubstringOf($item) | |
| 26 | |||
| 27 | 1 | protected function relationship() | |
| 31 | |||
| 32 | /** | ||
| 33 | * @param $string | ||
| 34 | * | ||
| 35 | * @return string | ||
| 36 | */ | ||
| 37 | 10 | private function stripSpace( $string) | |
| 41 | } | ||
| 42 |