SomeEvent.php 512 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace App\Events;
  3. use App\Events\Event;
  4. use Illuminate\Queue\SerializesModels;
  5. use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
  6. class SomeEvent extends Event
  7. {
  8. use SerializesModels;
  9. /**
  10. * Create a new event instance.
  11. *
  12. * @return void
  13. */
  14. public function __construct()
  15. {
  16. //
  17. }
  18. /**
  19. * Get the channels the event should be broadcast on.
  20. *
  21. * @return array
  22. */
  23. public function broadcastOn()
  24. {
  25. return [];
  26. }
  27. }