© 2026 Hedgehog Software, LLC
public function toBroadcast(object $notifiable): BroadcastMessage { $data = [ 'order_id' => $this->order->id, 'amount' => 123, ]; return (new BroadcastMessage($data))->onConnection('sync'); }
public function toBroadcast(object $notifiable): BroadcastMessage { return \Filament\Notifications\Notification::make() ->title('Saved successfully') ->getBroadcastMessage(); }
$user->notify(new OrderCreatedNotification($order));
BroadcastNotificationCreated