1 | <?php |
||
14 | class SendMessage implements ShouldQueue |
||
15 | { |
||
16 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
17 | |||
18 | /** @var string */ |
||
19 | public $mobile; |
||
20 | |||
21 | /** @var string */ |
||
22 | public $message; |
||
23 | |||
24 | /** @var SendHttpApiParams */ |
||
25 | public $params; |
||
26 | |||
27 | /** |
||
28 | * SendMessage constructor. |
||
29 | * @param string $mobile |
||
30 | * @param string $message |
||
31 | */ |
||
32 | public function __construct($mobile, $message) |
||
37 | |||
38 | /** |
||
39 | * @param EngageSpark $service |
||
40 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
41 | */ |
||
42 | public function handle(EngageSpark $service) |
||
46 | |||
47 | public function getParams(EngageSpark $service) |
||
51 | } |
||
52 |