Esempio n. 1
0
 /**
  * Determine if a pseudonym is already used in the room
  *
  * @param      string  $pseudonym  The pseudonym to check
  *
  * @return     bool    True if the pseudonym is already used in the room, false otherwise
  */
 public function isPseudonymAlreadyUsed(string $pseudonym) : bool
 {
     return in_array($pseudonym, $this->room->getPseudonyms());
 }