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),
            ],
        ]);
    }
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),
            ],
        ]);
    }
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 ) , ] , ] ) ; }
Set the stream connection
plus set all filter params

@return void
@throws EmptyRequiredParamsException
Set the stream connection plus set all filter params