| Total Complexity | 7 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 4 | class Message |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * [protected description] |
||
| 8 | * @var [type] |
||
|
|
|||
| 9 | */ |
||
| 10 | protected $message; |
||
| 11 | |||
| 12 | public function __construct($jsonString) |
||
| 15 | } |
||
| 16 | /** |
||
| 17 | * [header description] |
||
| 18 | * @date 2019-11-22 |
||
| 19 | * @param string $key [description] |
||
| 20 | * @return string [description] |
||
| 21 | */ |
||
| 22 | public function header(string $key):string |
||
| 27 | } |
||
| 28 | } |
||
| 29 | } |
||
| 30 | /** |
||
| 31 | * [headers description] |
||
| 32 | * @date 2019-11-22 |
||
| 33 | * @return array [description] |
||
| 34 | */ |
||
| 35 | public function headers():array |
||
| 38 | } |
||
| 39 | /** |
||
| 40 | * [body description] |
||
| 41 | * @date 2019-11-22 |
||
| 42 | * @return string [description] |
||
| 43 | */ |
||
| 44 | public function body():?string |
||
| 52 |