| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class RayganSmsMessage |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | public $content; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param string $content |
||
| 14 | * |
||
| 15 | * @return static |
||
| 16 | */ |
||
| 17 | public static function create($content = '') |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $content |
||
| 24 | */ |
||
| 25 | public function __construct($content = '') |
||
| 26 | { |
||
| 27 | $this->content = $content; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $content |
||
| 32 | * |
||
| 33 | * @return $this |
||
| 34 | */ |
||
| 35 | public function content($content) |
||
| 36 | { |
||
| 37 | $this->content = $content; |
||
| 38 | |||
| 39 | return $this; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getContent() |
||
| 48 | } |
||
| 49 | } |
||
| 50 |