function assertContains in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertContains()
Asserts that a haystack contains a needle.
@since Method available since Release 2.1.0
Parameters
mixed $needle:
mixed $haystack:
string $message:
bool $ignoreCase:
bool $checkForObjectIdentity:
bool $checkForNonObjectIdentity:
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert/ Functions.php, line 540
Code
function assertContains($needle, $haystack, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false) {
return call_user_func_array('PHPUnit_Framework_Assert::assertContains', func_get_args());
}