protected function callRender(
        array $renderInfos,
        string $errType,
        string $errMsg,
        string $errFile,
        int $errLine,
        array $backtrace,
        $exceptionCode = null
    ) {
        $this->saveIntoPhpLog($errType, $errMsg, $errFile, $errLine);
        
        $class  = $renderInfos['class'];
        $method = $renderInfos['method'];
        
        //If is a class, call "$class::$method" (compatibility 5.x)
        if (!empty($class)) {
            $class::$method(
                $errType,
                $errMsg,
                $errFile,
                $errLine,
                $backtrace,
                $exceptionCode
            );
            
            return;
        }
        
        //If is not a class, it's a function.
        $method(
            $errType,
            $errMsg,
            $errFile,
            $errLine,
            $backtrace,
            $exceptionCode
        );
    }
protected function callRender(
        array $renderInfos,
        string $errType,
        string $errMsg,
        string $errFile,
        int $errLine,
        array $backtrace,
        $exceptionCode = null
    ) {
        $this->saveIntoPhpLog($errType, $errMsg, $errFile, $errLine);
        
        $class  = $renderInfos['class'];
        $method = $renderInfos['method'];
        
        //If is a class, call "$class::$method" (compatibility 5.x)
        if (!empty($class)) {
            $class::$method(
                $errType,
                $errMsg,
                $errFile,
                $errLine,
                $backtrace,
                $exceptionCode
            );
            
            return;
        }
        
        //If is not a class, it's a function.
        $method(
            $errType,
            $errMsg,
            $errFile,
            $errLine,
            $backtrace,
            $exceptionCode
        );
    }
protected function callRender ( array $ renderInfos , string $ errType , string $ errMsg , string $ errFile , int $ errLine , array $ backtrace , $ exceptionCode = null ) { $ this -> saveIntoPhpLog ( $ errType , $ errMsg , $ errFile , $ errLine ) ; $ class = $ renderInfos [ 'class' ] ; $ method = $ renderInfos [ 'method' ] ; //If is a class, call "$class::$method" (compatibility 5.x) if ( ! empty ( $ class ) ) { $ class :: $ method ( $ errType , $ errMsg , $ errFile , $ errLine , $ backtrace , $ exceptionCode ) ; return ; } //If is not a class, it's a function. $ method ( $ errType , $ errMsg , $ errFile , $ errLine , $ backtrace , $ exceptionCode ) ; }
Call the personnal class-method or function declared on config when
an exception or an error is triggered.

@param array    $renderInfos : Infos from config
@param string   $errType : Human readable error severity
@param string   $errMsg : Error/exception message
@param string   $errFile : File where the error/exception is triggered
@param integer  $errLine : Line where the error/exception is triggered
@param array    $backtrace : Error/exception backtrace
@param int|null $exceptionCode : (default null) Exception code

@return void
Call the personnal class - method or function declared on config when an exception or an error is triggered .