function Exception::__construct
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/Exception.php \PHPUnit\Framework\MockObject\Stub\Exception::__construct()
- 11.1.x vendor/phpunit/phpunit/src/Framework/Exception/Exception.php \PHPUnit\Framework\Exception::__construct()
- 11.1.x vendor/phpunit/phpunit/src/Framework/Constraint/Exception/Exception.php \PHPUnit\Framework\Constraint\Exception::__construct()
Class constructor
Parameters
string $message Error message:
Position $position Error position:
Overrides Exception::__construct
1 method overrides Exception::__construct()
- Exception::__construct in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Exception.php - Class constructor
File
-
vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Exception.php, line 35
Class
- Exception
- Syntax exception class. Syntax errors in the source are thrown using this using this exception class.
Namespace
Peast\SyntaxCode
public function __construct($message, Position $position) {
parent::__construct($message);
$this->position = $position;
}