mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			441 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			441 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| namespace Laraspace\Providers;
 | |
| 
 | |
| use Illuminate\Support\Facades\Broadcast;
 | |
| use Illuminate\Support\ServiceProvider;
 | |
| 
 | |
| class BroadcastServiceProvider extends ServiceProvider
 | |
| {
 | |
|     /**
 | |
|      * Bootstrap any application services.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function boot()
 | |
|     {
 | |
|         Broadcast::routes();
 | |
|         Broadcast::routes(["middleware" => 'api.auth']);
 | |
|         require base_path('routes/channels.php');
 | |
|     }
 | |
| }
 |