public function register() { set_exception_handler(array(__CLASS__, 'exceptionHandler')); set_error_handler(array(__CLASS__, 'errorHandler')); register_shutdown_function(array(__CLASS__, 'shutdownHandler')); }