From da9bc7d5618bf025a2afef5b440de1bd1e4b9959 Mon Sep 17 00:00:00 2001 From: Koda Date: Thu, 17 Aug 2023 13:52:56 -0600 Subject: [PATCH] Added accessors for last request and last response --- src/Request/SoapClientRequest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Request/SoapClientRequest.php b/src/Request/SoapClientRequest.php index 1afb9d3..0dcbd84 100644 --- a/src/Request/SoapClientRequest.php +++ b/src/Request/SoapClientRequest.php @@ -116,6 +116,14 @@ public function getBody() return $this->body; } + public function getLastResponse() { + return $this->client()->__getLastResponse(); + } + + public function getLastRequest() { + return $this->client()->__getLastRequest(); + } + public function functions(): array { return $this->client()->__getFunctions();