for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace RM\SMSender;
use RM\SMSender\IMessage;
/**
* Basic implementation of Message.
*/
class Message implements IMessage
{
/** @var string */
protected $from;
protected $to;
protected $text;
* @param string $from
* @return self
public function setFrom($from)
$this->from = $from;
return $this;
}
* @param string $number
public function setTo($number)
$this->to = $number;
* @param string $text
public function setText($text)
$this->text = $text;
* @return string
public function getFrom()
return $this->from;
public function getTo()
return $this->to;
public function getText()
return $this->text;