/** * Room string representation * * @return string The Room string representation */ public function __toString() : string { return parent::__toString() . PHP_EOL . $this->roomBanCollection . PHP_EOL . $this->clients . PHP_EOL . 'pseudonyms => ' . static::prettyArray($this->pseudonyms) . PHP_EOL; }
/** * Pretty output the User entity * * @return string The pretty output User entity */ public function __toString() : string { return parent::__toString() . PHP_EOL . $this->right . PHP_EOL . $this->roomRight; }