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 *