for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\TurboSms;
use Illuminate\Support\Arr;
class TurboSmsMessage
{
/**
* The phone number the message should be sent from.
*
* @var string
*/
public $from = '';
* The message content.
public $content = '';
* Time of sending a message.
* @var int
public $time;
* @var bool
public $test;
* Create a new message instance.
* @param string $content
* @return static
public static function create($content = '')
return new static($content);
}
public function __construct($content = '')
$this->content = $content;
* Set the message content.
* @return $this
public function content($content)
return $this;
* Set the test SMS - imitation sending.
* @param string $from
public function test(bool $test = false)
$this->test = $test;
* Set the phone number or sender name the message should be sent from.
public function from($from)
$this->from = $from;
* Postpone shipping for -n- sec.
* @param null $time
$time
null
public function time(int $time = null)
$this->time = $time;