/** * @return [void] */ public function send() { $this->adapter->send($this->payload, $this->queue, $this->exchange); }
/** * @return [void] */ public function consume() { $this->adapter->consume($this->queue, $this->consumer->getTag(), array($this->consumer, 'work')); }