SendTextMessageAction
in package
Table of Contents
Properties
- $createReportAction : CreateReportAction|null
- $messageService : MessageService
- $smsService : SmsService
Methods
- __construct() : mixed
- call() : array<string|int, mixed>
Properties
$createReportAction
protected
CreateReportAction|null
$createReportAction
= null
$messageService
protected
MessageService
$messageService
$smsService
protected
SmsService
$smsService
Methods
__construct()
public
__construct(SmsService $smsService, MessageService $messageService[, CreateReportAction|null $createReportAction = null ]) : mixed
Parameters
- $smsService : SmsService
- $messageService : MessageService
- $createReportAction : CreateReportAction|null = null
call()
public
call(int $userId, string $message) : array<string|int, mixed>
Parameters
- $userId : int
- $message : string