protected function attachPayloadErrorHandler() {
        $this->getPayloadInstance();
        if (method_exists($this->instance, 'errorHandler')) {
            $this->di->get(ErrorHandler::class)->addHandler([$this->instance, 'errorHandler']);
        }
    }
protected function attachPayloadErrorHandler() {
        $this->getPayloadInstance();
        if (method_exists($this->instance, 'errorHandler')) {
            $this->di->get(ErrorHandler::class)->addHandler([$this->instance, 'errorHandler']);
        }
    }
protected function attachPayloadErrorHandler ( ) { $ this -> getPayloadInstance ( ) ; if ( method_exists ( $ this -> instance , 'errorHandler' ) ) { $ this -> di -> get ( ErrorHandler :: class ) -> addHandler ( [ $ this -> instance , 'errorHandler' ] ) ; } }
Attach payload error handler
Attach payload error handler