stream->write($message->toString()); } public function isAuthorized(string $topics): bool { return true; } }