original_string: public function internalShutdownFunction()
      {
          $aError = error_get_last();
          if (! $this->aConfig['display_errors'] && is_array($aError) && $aError['type'] === E_ERROR) {
              $oException = new \ErrorException(
                  $aError['message'],
                  $this->aConfig['default_error_code'],
                  $aError['type'],
                  $aError['file'],
                  $aError['line']
              );
              call_user_func($this->callbackGenericDisplay, $oException);
          }
          if (! empty($this->callbackAdditionalShutdownFct)) {
              call_user_func($this->callbackAdditionalShutdownFct);
              // @codeCoverageIgnoreStart
          }
      }
code: public function internalShutdownFunction()
      {
          $aError = error_get_last();
          if (! $this->aConfig['display_errors'] && is_array($aError) && $aError['type'] === E_ERROR) {
              $oException = new \ErrorException(
                  $aError['message'],
                  $this->aConfig['default_error_code'],
                  $aError['type'],
                  $aError['file'],
                  $aError['line']
              );
              call_user_func($this->callbackGenericDisplay, $oException);
          }
          if (! empty($this->callbackAdditionalShutdownFct)) {
              call_user_func($this->callbackAdditionalShutdownFct);
              // @codeCoverageIgnoreStart
          }
      }
code_tokens: public function internalShutdownFunction ( ) { $ aError = error_get_last ( ) ; if ( ! $ this -> aConfig [ 'display_errors' ] && is_array ( $ aError ) && $ aError [ 'type' ] === E_ERROR ) { $ oException = new \ ErrorException ( $ aError [ 'message' ] , $ this -> aConfig [ 'default_error_code' ] , $ aError [ 'type' ] , $ aError [ 'file' ] , $ aError [ 'line' ] ) ; call_user_func ( $ this -> callbackGenericDisplay , $ oException ) ; } if ( ! empty ( $ this -> callbackAdditionalShutdownFct ) ) { call_user_func ( $ this -> callbackAdditionalShutdownFct ) ; // @codeCoverageIgnoreStart } }
docstring: Registered shutdown function.
docstring_tokens: Registered shutdown function .