| 
									
										
										
										
											2016-01-12 21:38:12 +01:00
										 |  |  | <?php | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * FireRulesForUpdate.php | 
					
						
							|  |  |  |  * Copyright (C) 2016 Sander Dorigo | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This software may be modified and distributed under the terms | 
					
						
							|  |  |  |  * of the MIT license.  See the LICENSE file for details. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace FireflyIII\Handlers\Events; | 
					
						
							|  |  |  | use FireflyIII\Events\TransactionJournalUpdated; | 
					
						
							| 
									
										
										
										
											2016-01-13 05:37:25 +01:00
										 |  |  | use Log; | 
					
						
							| 
									
										
										
										
											2016-01-12 21:38:12 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * Class FireRulesForUpdate | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * @package FireflyIII\Handlers\Events | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | class FireRulesForUpdate | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * Create the event handler. | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function __construct() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         //
 | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * Handle the event. | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @param  TransactionJournalUpdated $event | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @return void | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function handle(TransactionJournalUpdated $event) | 
					
						
							|  |  |  |     { | 
					
						
							| 
									
										
										
										
											2016-01-13 05:37:25 +01:00
										 |  |  |         Log::debug('Fire rules for update!'); | 
					
						
							| 
									
										
										
										
											2016-01-12 21:38:12 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } |