mirror of
https://github.com/predis/predis.git
synced 2026-09-04 14:56:47 +00:00
Make callbacks properties protected in the DispatcherLoop class.
This makes easier to extend the class. The underlying pub/sub iterator property is still private, but can be accessed via public getter method.
This commit is contained in:
@@ -22,9 +22,10 @@ use Predis\ClientInterface;
|
||||
class DispatcherLoop
|
||||
{
|
||||
private $pubSubContext;
|
||||
private $callbacks;
|
||||
private $defaultCallback;
|
||||
private $subscriptionCallback;
|
||||
|
||||
protected $callbacks;
|
||||
protected $defaultCallback;
|
||||
protected $subscriptionCallback;
|
||||
|
||||
/**
|
||||
* @param ClientInterface Client instance used by the context.
|
||||
|
||||
Reference in New Issue
Block a user