original_string: private function setStreamClient()
      {
          $language = $this->language ?? '';
          $keywords = $this->keywords ?? [];
          $users    = $this->users    ?? [];
          
          if (empty($keywords) && empty($users)) {
              throw new EmptyRequiredParamsException(
                  'The keywords to listen or the Users to track it mustn\'t be empty.'
              );
          }
          
          $this->streamClient->post(self::FILTER_METHOD, [
              'form_params' => [
                  'language' => $language,
                  'track'    =>  implode(',', $keywords),
                  'follow'   => implode(',', $users),
              ],
          ]);
      }
code: private function setStreamClient()
      {
          $language = $this->language ?? '';
          $keywords = $this->keywords ?? [];
          $users    = $this->users    ?? [];
          
          if (empty($keywords) && empty($users)) {
              throw new EmptyRequiredParamsException(
                  'The keywords to listen or the Users to track it mustn\'t be empty.'
              );
          }
          
          $this->streamClient->post(self::FILTER_METHOD, [
              'form_params' => [
                  'language' => $language,
                  'track'    =>  implode(',', $keywords),
                  'follow'   => implode(',', $users),
              ],
          ]);
      }
code_tokens: private function setStreamClient ( ) { $ language = $ this -> language ?? '' ; $ keywords = $ this -> keywords ?? [ ] ; $ users = $ this -> users ?? [ ] ; if ( empty ( $ keywords ) && empty ( $ users ) ) { throw new EmptyRequiredParamsException ( 'The keywords to listen or the Users to track it mustn\'t be empty.' ) ; } $ this -> streamClient -> post ( self :: FILTER_METHOD , [ 'form_params' => [ 'language' => $ language , 'track' => implode ( ',' , $ keywords ) , 'follow' => implode ( ',' , $ users ) , ] , ] ) ; }
docstring: Set the stream connection
  plus set all filter params
  
  @return void
  @throws EmptyRequiredParamsException
docstring_tokens: Set the stream connection plus set all filter params