for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tzsk\Sms;
class SmsBuilder
{
/**
* @var array
*/
protected $recipients = [];
* @var string
protected $body;
protected $driver;
* Get the value of recipients
public function getRecipients()
return $this->recipients;
}
* Set the value of recipients
*
* @return self
public function to($recipients)
$this->recipients = is_array($recipients) ? $recipients : [$recipients];
return $this;
* Get the value of body
public function getBody()
return $this->body;
* Set the value of body
public function send($body)
$this->body = $body;
* Get the value of driver
public function getDriver()
return $this->driver;
* Set the value of driver
public function via($driver)
$this->driver = $driver;