mirror of
https://github.com/predis/predis.git
synced 2026-09-04 23:08:00 +00:00
Make it possible to get the client instance used by a pipeline object.
This commit is contained in:
@@ -176,4 +176,14 @@ class PipelineContext
|
||||
|
||||
return $this->replies;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the underlying client instance used by the pipeline object.
|
||||
*
|
||||
* @return Client
|
||||
*/
|
||||
public function getClient()
|
||||
{
|
||||
return $this->client;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user