public function addSubscriber($groupId, $subscriberData = [], $params = [])
    {
        $endpoint = $this->endpoint . '/' . $groupId . '/subscribers';

        $response = $this->restClient->post($endpoint, $subscriberData);

        return $response['body'];
    }
public function addSubscriber($groupId, $subscriberData = [], $params = [])
    {
        $endpoint = $this->endpoint . '/' . $groupId . '/subscribers';

        $response = $this->restClient->post($endpoint, $subscriberData);

        return $response['body'];
    }
public function addSubscriber ( $ groupId , $ subscriberData = [ ] , $ params = [ ] ) { $ endpoint = $ this -> endpoint . '/' . $ groupId . '/subscribers' ; $ response = $ this -> restClient -> post ( $ endpoint , $ subscriberData ) ; return $ response [ 'body' ] ; }
Add single subscriber to group

@param int   $groupId
@param array $subscriberData
@param array $params
@return [type]
Add single subscriber to group