32 lines
		
	
	
		
			496 B
		
	
	
	
		
			PHP
		
	
	
	
		
		
			
		
	
	
			32 lines
		
	
	
		
			496 B
		
	
	
	
		
			PHP
		
	
	
	
|  | <?php | ||
|  | 
 | ||
|  | namespace App\Listeners; | ||
|  | 
 | ||
|  | use App\Events\ExampleEvent; | ||
|  | use Illuminate\Contracts\Queue\ShouldQueue; | ||
|  | use Illuminate\Queue\InteractsWithQueue; | ||
|  | 
 | ||
|  | class ExampleListener | ||
|  | { | ||
|  |     /** | ||
|  |      * Create the event listener. | ||
|  |      * | ||
|  |      * @return void | ||
|  |      */ | ||
|  |     public function __construct() | ||
|  |     { | ||
|  |         //
 | ||
|  |     } | ||
|  | 
 | ||
|  |     /** | ||
|  |      * Handle the event. | ||
|  |      * | ||
|  |      * @param  \App\Events\ExampleEvent  $event | ||
|  |      * @return void | ||
|  |      */ | ||
|  |     public function handle(ExampleEvent $event) | ||
|  |     { | ||
|  |         //
 | ||
|  |     } | ||
|  | } |