src/Exception/Kernel.php
/**
	 * Sends fatal errors to the error handler.
	 */
Sends fatal errors to the error handler.
Sends fatal errors to the error handler .
private function bindFatal() {
		register_shutdown_function(function() {
			$error = error_get_last();
			if (!is_null($error)) {
				ErrorMiddleware::executeShutdownError($error['type'], $error['message'], $error['file'], $error['line']);
			}
		});
	}
private function bindFatal ( ) { register_shutdown_function ( function ( ) { $ error = error_get_last ( ) ; if ( ! is_null ( $ error ) ) { ErrorMiddleware :: executeShutdownError ( $ error [ 'type' ] , $ error [ 'message' ] , $ error [ 'file' ] , $ error [ 'line' ] ) ; } } ) ; }
Sends fatal errors to the error handler.
Sends fatal errors to the error handler .