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