public function setQueue(QueueInterface $mongoQueue) { $this->mongoQueue = $mongoQueue; return $this; }