setRoom() public method

Set the room that the message will be sent to.
public setRoom ( string $room ) : void
$room string Room name or id.
return void
Example #1
0
 /**
  * Set the room that the message will be sent to.
  *
  * @param string $room Room name or id.
  * @return void
  */
 public function setRoom($room)
 {
     $this->transport->setRoom($room);
 }