PHP Class SimpleSoftwareIO\SMS\Drivers\LogSMS

Inheritance: implements SimpleSoftwareIO\SMS\Drivers\DriverInterface, use trait SimpleSoftwareIO\SMS\DoesNotReceive
Show file Open project: simplesoftwareio/simple-sms

Protected Properties

Property Type Description
$logger GuzzleHttp\Client Laravel Logger

Public Methods

Method Description
__construct ( Illuminate\Log\Writer $logger ) Create the CallFire instance.
send ( OutgoingMessage $message ) Sends a SMS message.

Protected Methods

Method Description
processReceive ( $rawMessage ) : mixed Creates many IncomingMessage objects and sets all of the properties.

Method Details

__construct() public method

Create the CallFire instance.
public __construct ( Illuminate\Log\Writer $logger )
$logger Illuminate\Log\Writer

processReceive() protected method

Creates many IncomingMessage objects and sets all of the properties.
protected processReceive ( $rawMessage ) : mixed
$rawMessage
return mixed

send() public method

Sends a SMS message.
public send ( OutgoingMessage $message )
$message SimpleSoftwareIO\SMS\OutgoingMessage

Property Details

$logger protected property

Laravel Logger
protected Client,GuzzleHttp $logger
return GuzzleHttp\Client