data = (object) $data; } /** * Build the message. * * @return mixed */ public function build(): mixed { return $this ->from($this->data->email, sprintf('%s %s', $this->data->lastname, $this->data->firstname)) ->subject(__("Votre compte a été créé")) ->markdown('bo.mails.account-created'); } }