private function getAuthToken()
    {
        // Generate a new token if current is expired or empty
        if (!$this->token || new \DateTime() > $this->tokenExpireTime) {
            $this->requestToken();
        }

        return $this->token;
    }
private function getAuthToken()
    {
        // Generate a new token if current is expired or empty
        if (!$this->token || new \DateTime() > $this->tokenExpireTime) {
            $this->requestToken();
        }

        return $this->token;
    }
private function getAuthToken ( ) { // Generate a new token if current is expired or empty if ( ! $ this -> token || new \ DateTime ( ) > $ this -> tokenExpireTime ) { $ this -> requestToken ( ) ; } return $ this -> token ; }
Get token for Watson

@return string
Get token for Watson