Gush\ThirdParty\Bitbucket\BitbucketIssueTracker::createComment PHP Метод

createComment() публичный Метод

public createComment ( $id, $message )
    public function createComment($id, $message)
    {
        $response = $this->client->apiIssues()->comments()->create($this->getUsername(), $this->getRepository(), $id, $message);
        $resultArray = json_decode($response->getContent(), true);
        return ['number' => $resultArray['comment_id']];
    }