123456789101112131415161718192021222324 |
- <?php
- namespace App\Events;
- use App\Models\Order\Order;
- use Illuminate\Broadcasting\InteractsWithSockets;
- use Illuminate\Broadcasting\PrivateChannel;
- use Illuminate\Foundation\Events\Dispatchable;
- use Illuminate\Queue\SerializesModels;
- class OrderCreateEvent
- {
- use Dispatchable, InteractsWithSockets, SerializesModels;
- public Order $order;
- /**
- * @param Order $order
- */
- public function __construct(Order $order)
- {
- $this->order = $order;
- }
- }
|