onQueue(QueueName::SMS->value); } /** * Execute the job. * * @return void */ public function handle(SMSManager $manager) { $ret = $manager->setOrder($this->order) ->send(); if ($ret) { info(sprintf( "SMS送信依頼成功 address:%s order_id:%s", $this->order->phone_number, $this->order->id, )); } else { $this->fail(sprintf("SMS送信依頼失敗 order_id:%s", $this->order->id)); } } }