public function PHPUnit_Framework_Constraint_PCREMatch::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Framework/Constraint/PCREMatch.php \PHPUnit_Framework_Constraint_PCREMatch::__construct()
Parameters
string $pattern:
Overrides PHPUnit_Framework_Constraint::__construct
1 call to PHPUnit_Framework_Constraint_PCREMatch::__construct()
- PHPUnit_Framework_Constraint_StringMatches::__construct in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ StringMatches.php
1 method overrides PHPUnit_Framework_Constraint_PCREMatch::__construct()
- PHPUnit_Framework_Constraint_StringMatches::__construct in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ StringMatches.php
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ PCREMatch.php, line 32
Class
- PHPUnit_Framework_Constraint_PCREMatch
- Constraint that asserts that the string it is evaluated for matches a regular expression.
Code
public function __construct($pattern) {
parent::__construct();
$this->pattern = $pattern;
}