You are here

public function PHPUnit_Framework_Constraint_ExceptionMessageRegExp::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegExp.php \PHPUnit_Framework_Constraint_ExceptionMessageRegExp::__construct()

Parameters

string $expected:

Overrides PHPUnit_Framework_Constraint::__construct

File

vendor/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegExp.php, line 24

Class

PHPUnit_Framework_Constraint_ExceptionMessageRegExp
@since Class available since Release 4.3.0

Code

public function __construct($expected) {
  parent::__construct();
  $this->expectedMessageRegExp = $expected;
}