30 lines
		
	
	
		
			478 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			478 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Providers;
 | |
| 
 | |
| use App\Models\Banking\Transaction;
 | |
| use Illuminate\Support\ServiceProvider as Provider;
 | |
| 
 | |
| class Observer extends Provider
 | |
| {
 | |
|     /**
 | |
|      * Register bindings in the container.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function boot()
 | |
|     {
 | |
|         Transaction::observe('App\Observers\Transaction');
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Register the service provider.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function register()
 | |
|     {
 | |
|         //
 | |
|     }
 | |
| }
 |