コード例 #1
0
ファイル: Server.php プロジェクト: Mailclark/bot2hook
 protected function publish(Bot $bot, $data)
 {
     $this->rabbitmq->publishString($this->config['rabbit_outgoing_queue'], json_encode(array_merge(['bot' => $bot->bot_id, 'team' => $bot->team_id], $data)));
 }