public function PHPUnit_Framework_Error::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Error.php \PHPUnit_Framework_Error::__construct()
Constructor.
Parameters
string $message:
int $code:
string $file:
int $line:
Exception $previous:
Overrides PHPUnit_Framework_Exception::__construct
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Error.php, line 27
Class
- PHPUnit_Framework_Error
- Wrapper for PHP errors.
Code
public function __construct($message, $code, $file, $line, Exception $previous = null) {
parent::__construct($message, $code, $previous);
$this->file = $file;
$this->line = $line;
}