1 | <?php |
||
19 | class Service extends AbstractService |
||
20 | { |
||
21 | /** |
||
22 | * Get service name |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | 3 | public function getName() |
|
30 | |||
31 | /** |
||
32 | * Get API version |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | 3 | public function getVersion() |
|
40 | |||
41 | /** |
||
42 | * Set API version |
||
43 | * |
||
44 | * @param string $value |
||
45 | * @return $this |
||
46 | */ |
||
47 | 3 | public function setVersion($value) |
|
51 | |||
52 | /** |
||
53 | * Analyze tone |
||
54 | * |
||
55 | * @param array $parameters |
||
56 | * @return \IBM\Watson\Common\Message\AbstractRequest |
||
57 | */ |
||
58 | 2 | public function tone(array $parameters = []) |
|
62 | } |
||
63 |