Gush\ThirdParty\Bitbucket\BitbucketRepoAdapter::getPullRequest PHP Метод

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

public getPullRequest ( $id )
    public function getPullRequest($id)
    {
        $response = $this->client->apiPullRequests()->get($this->getUsername(), $this->getRepository(), $id);
        $resultArray = json_decode($response->getContent(), true);
        return $this->adaptPullRequestStructure($resultArray);
    }