HasBroadcastChannel.php 435 B

1234567891011121314151617181920
  1. <?php
  2. namespace Illuminate\Contracts\Broadcasting;
  3. interface HasBroadcastChannel
  4. {
  5. /**
  6. * Get the broadcast channel route definition that is associated with the given entity.
  7. *
  8. * @return string
  9. */
  10. public function broadcastChannelRoute();
  11. /**
  12. * Get the broadcast channel name that is associated with the given entity.
  13. *
  14. * @return string
  15. */
  16. public function broadcastChannel();
  17. }