Esempio n. 1
0
 /**
  * Add a client to the room
  *
  * @param      Client  $client     The client to add
  * @param      string  $pseudonym  The client pseudonym for this room
  *
  * @throws     Exception  If the Client is already in the room
  */
 public function addClient(Client $client, string $pseudonym)
 {
     $this->room->getClients()->add($client);
     $this->room->addPseudonym($client->getId(), $pseudonym);
 }