| 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 | * @param string $substring | ||
| 13 | * | ||
| 14 | * @return self | ||
| 15 | */ | ||
| 16 | 9 | 	public static function containsStringIgnoringWhiteSpace( $substring ) { | |
| 19 | |||
| 20 | /** | ||
| 21 | * @param string $item | ||
| 22 | * | ||
| 23 | * @return bool | ||
| 24 | */ | ||
| 25 | 10 | 	protected function evalSubstringOf( $item ) { | |
| 28 | |||
| 29 | 1 | 	protected function relationship() { | |
| 32 | |||
| 33 | /** | ||
| 34 | * @param string $string | ||
| 35 | * | ||
| 36 | * @return string | ||
| 37 | */ | ||
| 38 | 10 | 	private function stripSpace( $string ) { | |
| 41 | |||
| 42 | } | ||
| 43 |