$data */ public function __construct( public readonly array $data, ) { } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'Nouvelle demande - Rejoindre le collectif', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'emails.join-group', with: ['data' => $this->data], ); } }