Skip to content

Commit 49c0d3a

Browse files
author
laland
committed
[SoapClient] adds docblocks for request and responce properties, and __getLastRequest, __getLastRequest methods
1 parent ec37e8b commit 49c0d3a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/VCR/Util/SoapClient.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ class SoapClient extends \SoapClient
1717

1818
protected $options = array();
1919

20+
/**
21+
* @var string
22+
*/
2023
protected $response;
2124

25+
/**
26+
* @var string
27+
*/
2228
protected $request;
2329

2430
public function __construct($wsdl, $options = array()) {
@@ -56,11 +62,17 @@ public function __doRequest($request, $location, $action, $version, $one_way = 0
5662
return $one_way ? null : $response;
5763
}
5864

65+
/**
66+
* @inheritdoc
67+
*/
5968
public function __getLastRequest()
6069
{
6170
return $this->request;
6271
}
6372

73+
/**
74+
* @inheritdoc
75+
*/
6476
public function __getLastResponse()
6577
{
6678
return $this->response;

0 commit comments

Comments
 (0)