You are here

function stringContains in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \stringContains()

Returns a PHPUnit_Framework_Constraint_StringContains matcher object.

@since Method available since Release 3.0.0

Parameters

string $string:

bool $case:

Return value

PHPUnit_Framework_Constraint_StringContains

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 2370

Code

function stringContains($string, $case = true) {
  return call_user_func_array('PHPUnit_Framework_Assert::stringContains', func_get_args());
}