ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
PhpOffice\PhpSpreadsheet\Calculation\ExceptionHandler Class Reference
+ Collaboration diagram for PhpOffice\PhpSpreadsheet\Calculation\ExceptionHandler:

Public Member Functions

 __construct ()
 Register errorhandler. More...
 
 __destruct ()
 Unregister errorhandler. More...
 

Detailed Description

Definition at line 5 of file ExceptionHandler.php.

Constructor & Destructor Documentation

◆ __construct()

PhpOffice\PhpSpreadsheet\Calculation\ExceptionHandler::__construct ( )

Register errorhandler.

Definition at line 10 of file ExceptionHandler.php.

11  {
12  set_error_handler([Exception::class, 'errorHandlerCallback'], E_ALL);
13  }

◆ __destruct()

PhpOffice\PhpSpreadsheet\Calculation\ExceptionHandler::__destruct ( )

Unregister errorhandler.

Definition at line 18 of file ExceptionHandler.php.

19  {
20  restore_error_handler();
21  }

The documentation for this class was generated from the following file: