You are here

public function PHPExcel_Calculation_ExceptionHandler::__construct in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/ExceptionHandler.php \PHPExcel_Calculation_ExceptionHandler::__construct()

* Register errorhandler

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/ExceptionHandler.php, line 39

Class

PHPExcel_Calculation_ExceptionHandler
PHPExcel_Calculation_ExceptionHandler

Code

public function __construct() {
  set_error_handler(array(
    'PHPExcel_Calculation_Exception',
    'errorHandlerCallback',
  ), E_ALL);
}