function Exception::__construct
Same name in this branch
- 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()
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Exception.php \Peast\Syntax\Exception::__construct()
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Stub/ Exception.php, line 24
Class
- Exception
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObject\StubCode
public function __construct(Throwable $exception) {
$this->exception = $exception;
}