PHP 클래스 SimpleSoftwareIO\SMS\Drivers\EmailSMS

상속: implements SimpleSoftwareIO\SMS\Drivers\DriverInterface
파일 보기 프로젝트 열기: simplesoftwareio/simple-sms

공개 메소드들

메소드 설명
__construct ( Illuminate\Mail\Mailer $mailer ) Creates the EmailSMS Instance.
send ( OutgoingMessage $message ) : Illuminate\Mail\Message Sends a SMS message via the mailer.

보호된 메소드들

메소드 설명
buildEmail ( array $number, OutgoingMessage $message ) : string Builds the email address of a number.
generateMessage ( Illuminate\Mail\Message $email, OutgoingMessage $message ) : Illuminate\Mail\Message Generates the Laravel Message Object.
lookupGateway ( string $carrier, boolean $mms ) : string Finds the gateway based on the carrier and MMS.
sendRaw ( OutgoingMessage $message ) : Illuminate\Mail\Message Sends a SMS message via the mailer using the raw method.

메소드 상세

__construct() 공개 메소드

Creates the EmailSMS Instance.
public __construct ( Illuminate\Mail\Mailer $mailer )
$mailer Illuminate\Mail\Mailer

buildEmail() 보호된 메소드

Builds the email address of a number.
protected buildEmail ( array $number, OutgoingMessage $message ) : string
$number array
$message SimpleSoftwareIO\SMS\OutgoingMessage
리턴 string

generateMessage() 보호된 메소드

Generates the Laravel Message Object.
protected generateMessage ( Illuminate\Mail\Message $email, OutgoingMessage $message ) : Illuminate\Mail\Message
$email Illuminate\Mail\Message
$message SimpleSoftwareIO\SMS\OutgoingMessage
리턴 Illuminate\Mail\Message

lookupGateway() 보호된 메소드

Finds the gateway based on the carrier and MMS.
protected lookupGateway ( string $carrier, boolean $mms ) : string
$carrier string
$mms boolean
리턴 string

send() 공개 메소드

Sends a SMS message via the mailer.
public send ( OutgoingMessage $message ) : Illuminate\Mail\Message
$message SimpleSoftwareIO\SMS\OutgoingMessage
리턴 Illuminate\Mail\Message

sendRaw() 보호된 메소드

Sends a SMS message via the mailer using the raw method.
protected sendRaw ( OutgoingMessage $message ) : Illuminate\Mail\Message
$message SimpleSoftwareIO\SMS\OutgoingMessage
리턴 Illuminate\Mail\Message