Commit 92ea383
authored
[12.x] Add Stringable::doesntContain() to match API symmetry (#57279)
* Add Stringable::doesntContain() method
This adds the missing doesntContain() method to the Stringable class
to provide symmetry with the contains() method. The method proxies to
the existing Str::doesntContain() implementation.
* Add tests for Stringable::doesntContain() method
Tests cover all parameter combinations including arrays, collections,
case sensitivity, and edge cases. All tests pass successfully.1 parent 1f0bcbf commit 92ea383
File tree
2 files changed
+25
-0
lines changed- src/Illuminate/Support
- tests/Support
2 files changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
225 | 237 | | |
226 | 238 | | |
227 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
851 | 864 | | |
852 | 865 | | |
853 | 866 | | |
| |||
0 commit comments