| Total Complexity | 1 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class SendMessage extends MessageMethods |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Session identifier. |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $sessionid; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * List of the message recipients IDs. |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | public $dest; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Message content. |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $content; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Message type. |
||
| 34 | * @var integer |
||
| 35 | */ |
||
| 36 | public $type; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Stamp. Mark the important message. |
||
| 40 | * @var boolean |
||
| 41 | */ |
||
| 42 | public $code; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Message lifetime in seconds (for the self-removed messages). |
||
| 46 | * @var integer |
||
| 47 | */ |
||
| 48 | public $lifetime; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Gets the name of all mandatory fields |
||
| 52 | * @return array |
||
| 53 | */ |
||
| 54 | public function getMandatoryFields(): array |
||
| 64 |