コード例 #1
0
ファイル: Consumer.php プロジェクト: Mailclark/bot2hook
 public function incoming($msg)
 {
     $body = json_decode($msg->body);
     $retry = empty($body->retry) ? 0 : $body->retry;
     $this->rabbitmq->ack($msg);
     $this->execute('b2h_incoming', $msg->body, $retry);
 }