src/GAubry/ErrorHandler/ErrorHandler.php
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
        }
    }
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
        }
    }
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 } }
Registered shutdown function.
Registered shutdown function .