public function debugLastSoapRequest(): array
    {
        $lastRequestInfo = $this->engine->collectLastRequestInfo();
        return [
            'request' => [
                'headers' => trim($this->soapClient->__getLastRequestHeaders()),
                'body'    => XmlFormatter::format($this->soapClient->__getLastRequest()),
            ],
            'response' => [
                'headers' => trim($this->soapClient->__getLastResponseHeaders()),
                'body'    => XmlFormatter::format($this->soapClient->__getLastResponse()),
            ]
        ];
    }
public function debugLastSoapRequest(): array
    {
        $lastRequestInfo = $this->engine->collectLastRequestInfo();
        return [
            'request' => [
                'headers' => trim($this->soapClient->__getLastRequestHeaders()),
                'body'    => XmlFormatter::format($this->soapClient->__getLastRequest()),
            ],
            'response' => [
                'headers' => trim($this->soapClient->__getLastResponseHeaders()),
                'body'    => XmlFormatter::format($this->soapClient->__getLastResponse()),
            ]
        ];
    }
public function debugLastSoapRequest ( ) : array { $ lastRequestInfo = $ this -> engine -> collectLastRequestInfo ( ) ; return [ 'request' => [ 'headers' => trim ( $ this -> soapClient -> __getLastRequestHeaders ( ) ) , 'body' => XmlFormatter :: format ( $ this -> soapClient -> __getLastRequest ( ) ) , ] , 'response' => [ 'headers' => trim ( $ this -> soapClient -> __getLastResponseHeaders ( ) ) , 'body' => XmlFormatter :: format ( $ this -> soapClient -> __getLastResponse ( ) ) , ] ] ; }
Make it possible to debug the last request.

@return array
Make it possible to debug the last request .