mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			631 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			631 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace Laraspace\Events;
 | |
| 
 | |
| use Illuminate\Broadcasting\Channel;
 | |
| use Illuminate\Broadcasting\InteractsWithSockets;
 | |
| use Illuminate\Broadcasting\PresenceChannel;
 | |
| use Illuminate\Broadcasting\PrivateChannel;
 | |
| use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
 | |
| use Illuminate\Foundation\Events\Dispatchable;
 | |
| use Illuminate\Queue\SerializesModels;
 | |
| 
 | |
| class UpdateFinished
 | |
| {
 | |
|     use Dispatchable;
 | |
| 
 | |
|     public $new;
 | |
| 
 | |
|     public $old;
 | |
| 
 | |
|     /**
 | |
|      * Create a new event instance.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function __construct($old, $new)
 | |
|     {
 | |
|         $this->old   = $old;
 | |
|         $this->new   = $new;
 | |
|     }
 | |
| }
 |