update v 1.0.7.5
This commit is contained in:
		
							
								
								
									
										49
									
								
								vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastServiceProvider.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastServiceProvider.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,49 @@ | ||||
| <?php | ||||
|  | ||||
| namespace Illuminate\Broadcasting; | ||||
|  | ||||
| use Illuminate\Support\ServiceProvider; | ||||
|  | ||||
| class BroadcastServiceProvider extends ServiceProvider | ||||
| { | ||||
|     /** | ||||
|      * Indicates if loading of the provider is deferred. | ||||
|      * | ||||
|      * @var bool | ||||
|      */ | ||||
|     protected $defer = true; | ||||
|  | ||||
|     /** | ||||
|      * Register the service provider. | ||||
|      * | ||||
|      * @return void | ||||
|      */ | ||||
|     public function register() | ||||
|     { | ||||
|         $this->app->singleton('Illuminate\Broadcasting\BroadcastManager', function ($app) { | ||||
|             return new BroadcastManager($app); | ||||
|         }); | ||||
|  | ||||
|         $this->app->singleton('Illuminate\Contracts\Broadcasting\Broadcaster', function ($app) { | ||||
|             return $app->make('Illuminate\Broadcasting\BroadcastManager')->connection(); | ||||
|         }); | ||||
|  | ||||
|         $this->app->alias( | ||||
|             'Illuminate\Broadcasting\BroadcastManager', 'Illuminate\Contracts\Broadcasting\Factory' | ||||
|         ); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Get the services provided by the provider. | ||||
|      * | ||||
|      * @return array | ||||
|      */ | ||||
|     public function provides() | ||||
|     { | ||||
|         return [ | ||||
|             'Illuminate\Broadcasting\BroadcastManager', | ||||
|             'Illuminate\Contracts\Broadcasting\Factory', | ||||
|             'Illuminate\Contracts\Broadcasting\Broadcaster', | ||||
|         ]; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Sujit Prasad
					Sujit Prasad