public function leave($rooms = []): self
    {
        $rooms = is_string($rooms) || is_integer($rooms) ? func_get_args() : $rooms;

        $this->room->delete($this->sender, $rooms);

        return $this;
    }
public function leave($rooms = []): self
    {
        $rooms = is_string($rooms) || is_integer($rooms) ? func_get_args() : $rooms;

        $this->room->delete($this->sender, $rooms);

        return $this;
    }
public function leave ( $ rooms = [ ] ) : self { $ rooms = is_string ( $ rooms ) || is_integer ( $ rooms ) ? func_get_args ( ) : $ rooms ; $ this -> room -> delete ( $ this -> sender , $ rooms ) ; return $ this ; }
Make sender leave multiple rooms.

@param array $rooms

@return $this
Make sender leave multiple rooms .