You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
440 B
20 lines
440 B
<?php
|
|
|
|
namespace App\Services\Sms;
|
|
|
|
use App\Models\SmsVerification;
|
|
|
|
class DisabledSmsSender implements SmsSender
|
|
{
|
|
public function sendVerification(SmsVerification $record): SmsSendResult
|
|
{
|
|
return SmsSendResult::success(
|
|
SmsVerification::PROVIDER_DISABLED,
|
|
null,
|
|
'DISABLED_OK',
|
|
'SMS_ENABLED=false; provider call skipped.',
|
|
['disabled' => true]
|
|
);
|
|
}
|
|
}
|