Skip to content

Commit 739532e

Browse files
authored
Merge pull request #466 from tiborb/rpc_reset
Added reset functionality to rpc client
2 parents c14de14 + 8866df4 commit 739532e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

RabbitMq/RpcClient.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,10 @@ public function setDirectReplyTo($directReplyTo)
115115
{
116116
$this->directReplyTo = $directReplyTo;
117117
}
118+
119+
public function reset()
120+
{
121+
$this->replies = array();
122+
$this->requests = 0;
123+
}
118124
}

0 commit comments

Comments
 (0)