for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Tone Response class
*/
namespace IBM\Watson\ToneAnalyzer\Message;
use IBM\Watson\Common\Message\AbstractResponse;
* @see AbstractResponse
class ToneResponse extends AbstractResponse
{
* Get response code
*
* @return int
public function getCode()
return $this->data->getStatusCode();
}