Predis\PubSub\DispatcherLoop::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( Consumer $pubsub )
$pubsub Consumer PubSub consumer instance used by the loop.
    public function __construct(Consumer $pubsub)
    {
        $this->callbacks = array();
        $this->pubsub = $pubsub;
    }