public function getChannelCommunity($channelIdentifier)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        if (!is_numeric($channelIdentifier)) {
            throw new InvalidIdentifierException('channel');
        }

        return $this->get(sprintf('channels/%s/community', $channelIdentifier));
    }
public function getChannelCommunity($channelIdentifier)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        if (!is_numeric($channelIdentifier)) {
            throw new InvalidIdentifierException('channel');
        }

        return $this->get(sprintf('channels/%s/community', $channelIdentifier));
    }
public function getChannelCommunity ( $ channelIdentifier ) { if ( ! $ this -> apiVersionIsGreaterThanV3 ( ) ) { throw new EndpointNotSupportedByApiVersionException ( ) ; } if ( ! is_numeric ( $ channelIdentifier ) ) { throw new InvalidIdentifierException ( 'channel' ) ; } return $ this -> get ( sprintf ( 'channels/%s/community' , $ channelIdentifier ) ) ; }
Get the community for a channel

@param string|int $channelIdentifier
@throws InvalidIdentifierException
@throws EndpointNotSupportedByApiVersionException
@return null|array|json
Get the community for a channel