for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Notifier\Channel\Sms;
class SmsMessage
{
/** @var string */
protected $from;
protected $to = '';
protected $text = '';
public function from(string $phoneNumber)
$this->from = $phoneNumber;
return $this;
}
public function getFrom(): ?string
return $this->from;
public function to(string $phoneNumber)
$this->to = $phoneNumber;
public function getTo(): string
return $this->to;
public function text(string $text)
$this->text = $text;
public function getText(): string
return $this->text;