public function PHPUnit_Framework_SyntheticError::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/SyntheticError.php \PHPUnit_Framework_SyntheticError::__construct()
Constructor.
Parameters
string $message:
int $code:
string $file:
int $line:
array $trace:
Overrides PHPUnit_Framework_Exception::__construct
File
- vendor/
phpunit/ phpunit/ src/ Framework/ SyntheticError.php, line 48
Class
- PHPUnit_Framework_SyntheticError
- Creates a synthetic failed assertion.
Code
public function __construct($message, $code, $file, $line, $trace) {
parent::__construct($message, $code);
$this->syntheticFile = $file;
$this->syntheticLine = $line;
$this->syntheticTrace = $trace;
}