public function PHPUnit_Framework_Constraint_StringContains::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Framework/Constraint/StringContains.php \PHPUnit_Framework_Constraint_StringContains::__construct()
Parameters
string $string:
bool $ignoreCase:
Overrides PHPUnit_Framework_Constraint::__construct
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ StringContains.php, line 38
Class
- PHPUnit_Framework_Constraint_StringContains
- Constraint that asserts that the string it is evaluated for contains a given string.
Code
public function __construct($string, $ignoreCase = false) {
parent::__construct();
$this->string = $string;
$this->ignoreCase = $ignoreCase;
}