mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update
This commit is contained in:
		
							
								
								
									
										30
									
								
								app/Listeners/ServerLogSaveListener.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								app/Listeners/ServerLogSaveListener.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| <?php | ||||
|  | ||||
| namespace App\Listeners; | ||||
|  | ||||
| use App\Events\ServerLogSaveEvent; | ||||
| use Illuminate\Queue\InteractsWithQueue; | ||||
| use Illuminate\Contracts\Queue\ShouldQueue; | ||||
|  | ||||
| class ServerLogSaveListener | ||||
| { | ||||
|     /** | ||||
|      * Create the event listener. | ||||
|      * | ||||
|      * @return void | ||||
|      */ | ||||
|     public function __construct() | ||||
|     { | ||||
|         // | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Handle the event. | ||||
|      * | ||||
|      * @param  ServerLogSaveEvent  $event | ||||
|      * @return void | ||||
|      */ | ||||
|     public function handle(ServerLogSaveEvent $event) { | ||||
|         info($event->serverLog); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user