protected function setQueue(Queue $queue) { $this->queue = $queue; $this->queue->setProducer($this); return $this; }