Definition at line 9 of file SystemFacade.php.
◆ cleanOutputBuffer()
Whoops\Util\SystemFacade::cleanOutputBuffer |
( |
| ) |
|
- Returns
- string|false
Definition at line 75 of file SystemFacade.php.
77 return ob_get_clean();
◆ endOutputBuffering()
Whoops\Util\SystemFacade::endOutputBuffering |
( |
| ) |
|
◆ flushOutputBuffer()
Whoops\Util\SystemFacade::flushOutputBuffer |
( |
| ) |
|
◆ getErrorReportingLevel()
Whoops\Util\SystemFacade::getErrorReportingLevel |
( |
| ) |
|
◆ getLastError()
Whoops\Util\SystemFacade::getLastError |
( |
| ) |
|
- Returns
- array|null
Definition at line 115 of file SystemFacade.php.
117 return error_get_last();
◆ getOutputBufferLevel()
Whoops\Util\SystemFacade::getOutputBufferLevel |
( |
| ) |
|
◆ registerShutdownFunction()
Whoops\Util\SystemFacade::registerShutdownFunction |
( |
callable |
$function | ) |
|
◆ restoreErrorHandler()
Whoops\Util\SystemFacade::restoreErrorHandler |
( |
| ) |
|
◆ restoreExceptionHandler()
Whoops\Util\SystemFacade::restoreExceptionHandler |
( |
| ) |
|
- Returns
- void
Definition at line 49 of file SystemFacade.php.
51 restore_exception_handler();
◆ setErrorHandler()
Whoops\Util\SystemFacade::setErrorHandler |
( |
callable |
$handler, |
|
|
|
$types = 'use-php-defaults' |
|
) |
| |
- Parameters
-
callable | $handler | |
int | $types | |
- Returns
- callable|null
Definition at line 27 of file SystemFacade.php.
30 if ($types ===
'use-php-defaults') {
31 $types = E_ALL | E_STRICT;
33 return set_error_handler(
$handler, $types);
◆ setExceptionHandler()
Whoops\Util\SystemFacade::setExceptionHandler |
( |
callable |
$handler | ) |
|
◆ setHttpResponseCode()
Whoops\Util\SystemFacade::setHttpResponseCode |
( |
|
$httpCode | ) |
|
- Parameters
-
- Returns
- int
Definition at line 125 of file SystemFacade.php.
127 return http_response_code($httpCode);
◆ startOutputBuffering()
Whoops\Util\SystemFacade::startOutputBuffering |
( |
| ) |
|
◆ stopExecution()
Whoops\Util\SystemFacade::stopExecution |
( |
|
$exitStatus | ) |
|
The documentation for this class was generated from the following file: