1 | <?php |
||
32 | class Receiver |
||
33 | { |
||
34 | /* |
||
35 | |-------------------------------------------------------------------------- |
||
36 | | Receiver Class |
||
37 | |-------------------------------------------------------------------------- |
||
38 | | |
||
39 | | Send message to other user. |
||
40 | | |
||
41 | */ |
||
42 | |||
43 | protected $obUser; |
||
44 | protected $conversation; |
||
45 | protected $messages; |
||
46 | |||
47 | /** |
||
48 | * Create a new class instance. |
||
49 | * |
||
50 | * @return void |
||
|
|||
51 | */ |
||
52 | public function __construct() |
||
57 | |||
58 | /** |
||
59 | * Swaping value of conversation class to modify them for receiver |
||
60 | * |
||
61 | * @param string $msg To store message |
||
62 | * @param boolean $para To store True/False |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | public function receiverLoad($msg, $para) |
||
90 | } |
||
91 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.