1 | <?php |
||
7 | class Message implements Step |
||
8 | { |
||
9 | /** |
||
10 | * @var float |
||
11 | */ |
||
12 | private $confidence; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $message; |
||
18 | |||
19 | /** |
||
20 | * @param string $message |
||
21 | * @param float $confidence |
||
22 | */ |
||
23 | 8 | public function __construct($message, $confidence) |
|
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | 2 | public function getMessage() |
|
36 | |||
37 | /** |
||
38 | * @return float |
||
39 | */ |
||
40 | 1 | public function getConfidence() |
|
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | 2 | public function getType() |
|
52 | } |
||
53 |