public function to($values): self
    {
        $values = is_string($values) || is_integer($values) ? func_get_args() : $values;

        foreach ($values as $value) {
            if (! in_array($value, $this->to)) {
                $this->to[] = $value;
            }
        }

        return $this;
    }
public function to($values): self
    {
        $values = is_string($values) || is_integer($values) ? func_get_args() : $values;

        foreach ($values as $value) {
            if (! in_array($value, $this->to)) {
                $this->to[] = $value;
            }
        }

        return $this;
    }
public function to ( $ values ) : self { $ values = is_string ( $ values ) || is_integer ( $ values ) ? func_get_args ( ) : $ values ; foreach ( $ values as $ value ) { if ( ! in_array ( $ value , $ this -> to ) ) { $ this -> to [ ] = $ value ; } } return $ this ; }
Set multiple recipients fd or room names.

@param integer, string, array

@return $this
Set multiple recipients fd or room names .