Skip to content

Commit 31534f3

Browse files
committed
add missing methods for result property
1 parent c065d4a commit 31534f3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

AbstractSoapClientBase.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,24 @@ public function getLastErrorForMethod($methoName)
530530
{
531531
return array_key_exists($methoName, $this->lastError) ? $this->lastError[$methoName] : null;
532532
}
533+
/**
534+
* Method returning current result from Soap call
535+
* @return mixed
536+
*/
537+
public function getResult()
538+
{
539+
return $this->result;
540+
}
541+
/**
542+
* Method setting current result from Soap call
543+
* @param mixed $result
544+
* @return AbstractSoapClientBase
545+
*/
546+
protected function setResult($result)
547+
{
548+
$this->result = $result;
549+
return $this;
550+
}
533551
/**
534552
* Method returning actual class name
535553
* @return string __CLASS__

0 commit comments

Comments
 (0)