From f8bcfed866ea10fd6b1bc99d9200b110481dac28 Mon Sep 17 00:00:00 2001 From: NoiseByNorthwest Date: Wed, 26 Jun 2013 11:55:35 +0200 Subject: [PATCH] Adds nsqphp::setNsLookup --- src/nsqphp/nsqphp.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/nsqphp/nsqphp.php b/src/nsqphp/nsqphp.php index 59043a4..3544afc 100644 --- a/src/nsqphp/nsqphp.php +++ b/src/nsqphp/nsqphp.php @@ -171,6 +171,16 @@ public function __construct( $this->longId = $hn; } + /** + * Set the nsq lookup service + * + * @param \nsqphp\Lookup\LookupInterface $nsLookup + */ + public function setNsLookup(LookupInterface $nsLookup = NULL) + { + $this->nsLookup = $nsLookup; + } + /** * Set requeue strategy *