function BootstrapErrorHandler::__construct
Same name and namespace in other branches
- 11.x core/tests/Drupal/TestTools/ErrorHandler/BootstrapErrorHandler.php \Drupal\TestTools\ErrorHandler\BootstrapErrorHandler::__construct()
Parameters
\PHPUnit\Runner\ErrorHandler $phpUnitErrorHandler: An instance of PHPUnit's runner own error handler. Any error not managed here will fall back to it.
File
-
core/
tests/ Drupal/ TestTools/ ErrorHandler/ BootstrapErrorHandler.php, line 30
Class
- BootstrapErrorHandler
- Drupal's PHPUnit base error handler.
Namespace
Drupal\TestTools\ErrorHandlerCode
public function __construct(private readonly PhpUnitErrorHandler $phpUnitErrorHandler) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.