mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			804 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			804 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| namespace Firefly\Helper\Controllers;
 | |
| 
 | |
| use Illuminate\Database\Eloquent\Collection;
 | |
| 
 | |
| /**
 | |
|  * Interface BudgetInterface
 | |
|  *
 | |
|  * @package Firefly\Helper\Controllers
 | |
|  */
 | |
| interface BudgetInterface
 | |
| {
 | |
| 
 | |
|     /**
 | |
|      * @param Collection $budgets
 | |
|      *
 | |
|      * @return mixed
 | |
|      */
 | |
|     public function organizeByDate(Collection $budgets);
 | |
| 
 | |
|     /**
 | |
|      * @param         $repetitionId
 | |
|      *
 | |
|      * @return mixed
 | |
|      */
 | |
|     public function organizeRepetition($repetitionId);
 | |
| 
 | |
| 
 | |
|     /**
 | |
|      * @param \Budget $budget
 | |
|      * @param bool    $useSessionDates
 | |
|      *
 | |
|      * @return mixed
 | |
|      */
 | |
|     public function organizeRepetitions(\Budget $budget, $useSessionDates = false);
 | |
| 
 | |
|     /**
 | |
|      * @param \Budget $budget
 | |
|      *
 | |
|      * @return mixed
 | |
|      */
 | |
|     public function outsideRepetitions(\Budget $budget);
 | |
| 
 | |
| } 
 |