1 | <?php |
||
10 | 1 | class Message implements IMessage |
|
11 | { |
||
12 | /** @var string */ |
||
13 | protected $from; |
||
14 | |||
15 | /** @var string */ |
||
16 | protected $to; |
||
17 | |||
18 | /** @var string */ |
||
19 | protected $text; |
||
20 | |||
21 | /** |
||
22 | * @param string $from |
||
23 | * @return self |
||
24 | */ |
||
25 | public function setFrom($from) |
||
30 | |||
31 | /** |
||
32 | * @param string $number |
||
33 | * @return self |
||
34 | */ |
||
35 | public function setTo($number) |
||
40 | |||
41 | /** |
||
42 | * @param string $text |
||
43 | * @return self |
||
44 | */ |
||
45 | public function setText($text) |
||
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | public function getFrom() |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getTo() |
||
66 | |||
67 | /** |
||
68 | * @return string |
||
69 | */ |
||
70 | public function getText() |
||
74 | } |
||
75 |