Finder|SplFileInfo[] contains(string $pattern)
Adds tests that file contents must match.
Strings or PCRE patterns can be used:
$finder->contains('Lorem ipsum') $finder->contains('/Lorem ipsum/i')
Finder|SplFileInfo[] contains(string $pattern)
Adds tests that file contents must match.
Strings or PCRE patterns can be used:
$finder->contains('Lorem ipsum') $finder->contains('/Lorem ipsum/i')
Please login to continue.