mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			526 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			526 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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);
 | |
|     }
 | |
| }
 |