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