| 1 | <?php |
||
| 14 | class ToneAnalyzer extends BaseService |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * The version is the date for the version of the API that you want to call. |
||
| 18 | * |
||
| 19 | * @param string $value Set the API version to use |
||
| 20 | * |
||
| 21 | * @return $this |
||
| 22 | */ |
||
| 23 | public function setVersion($value) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Get the version of the API previously set |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getVersion() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Analyze tone |
||
| 40 | * |
||
| 41 | * @param array $parameters |
||
| 42 | * |
||
| 43 | * @return \IBM\Watson\Common\Message\AbstractRequest |
||
| 44 | */ |
||
| 45 | public function analyzeTone(array $parameters = []) |
||
| 49 | } |
||
| 50 |