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

getSupportedComponents() защищенный Метод

protected getSupportedComponents ( )
    protected function getSupportedComponents()
    {
        $response = $this->client->apiIssues()->components()->all($this->getUsername(), $this->getRepository());
        $resultArray = json_decode($response->getContent(), true);
        $components = [];
        foreach ($resultArray as $comment) {
            $components[] = $comment['name'];
        }
        return $components;
    }