PrivateChannel.php 292B

123456789101112131415161718
  1. <?php
  2. namespace Illuminate\Broadcasting;
  3. class PrivateChannel extends Channel
  4. {
  5. /**
  6. * Create a new channel instance.
  7. *
  8. * @param string $name
  9. * @return void
  10. */
  11. public function __construct($name)
  12. {
  13. parent::__construct('private-'.$name);
  14. }
  15. }