mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 18:54:58 +00:00 
			
		
		
		
	New events.
This commit is contained in:
		
							
								
								
									
										45
									
								
								app/Handlers/Events/FireRulesForStore.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								app/Handlers/Events/FireRulesForStore.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | ||||
| <?php | ||||
| /** | ||||
|  * FireRulesForStore.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\TransactionJournalStored; | ||||
|  | ||||
| /** | ||||
|  * Class FireRulesForStore | ||||
|  * | ||||
|  * @package FireflyIII\Handlers\Events | ||||
|  */ | ||||
| class FireRulesForStore | ||||
| { | ||||
|     /** | ||||
|      * Create the event handler. | ||||
|      * | ||||
|      * @codeCoverageIgnore | ||||
|      * | ||||
|      */ | ||||
|     public function __construct() | ||||
|     { | ||||
|         // | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Connect a new transaction journal to any related piggy banks. | ||||
|      * | ||||
|      * @param  TransactionJournalStored $event | ||||
|      * | ||||
|      * @return boolean | ||||
|      */ | ||||
|     public function handle(TransactionJournalStored $event) | ||||
|     { | ||||
|         // get all the user's rule groups, with the rules, order by 'order'. | ||||
|  | ||||
|     } | ||||
| } | ||||
							
								
								
									
										40
									
								
								app/Handlers/Events/FireRulesForUpdate.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								app/Handlers/Events/FireRulesForUpdate.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| <?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; | ||||
|  | ||||
| /** | ||||
|  * 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) | ||||
|     { | ||||
|  | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user