Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace AppEvents;
- use IlluminateBroadcastingChannel;
- use IlluminateQueueSerializesModels;
- use IlluminateBroadcastingPrivateChannel;
- use IlluminateBroadcastingPresenceChannel;
- use IlluminateBroadcastingInteractsWithSockets;
- use IlluminateContractsBroadcastingShouldBroadcast;
- class ShippingStatusUpdated implements ShouldBroadcast
- {
- //
- }
- /**
- * Получить каналы, на которые надо вещать событие.
- *
- * @return array
- */
- public function broadcastOn()
- {
- return new PrivateChannel('order.'.$this->update->order_id);
- }
Add Comment
Please, Sign In to add comment