id = (string)Uuid::v7(); } public function deliver(Message $message): void { $this->stream->write($message->toString()); } public function isAuthorized(): bool { return $this->request->getAttribute('authorized'); } public function getPayload(): array { return $this->request->getAttribute('mercure.payload')??[]; } public function getId(): string { return "urn:uuid:".$this->id; } }