mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			68 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * ReportGeneratorInterface.php
 | |
|  * Copyright (C) 2016 thegrumpydictator@gmail.com
 | |
|  *
 | |
|  * This software may be modified and distributed under the terms of the
 | |
|  * Creative Commons Attribution-ShareAlike 4.0 International License.
 | |
|  *
 | |
|  * See the LICENSE file for details.
 | |
|  */
 | |
| 
 | |
| declare(strict_types = 1);
 | |
| 
 | |
| namespace FireflyIII\Generator\Report;
 | |
| 
 | |
| 
 | |
| use Carbon\Carbon;
 | |
| use Illuminate\Support\Collection;
 | |
| 
 | |
| /**
 | |
|  * Interface ReportGeneratorInterface
 | |
|  *
 | |
|  * @package FireflyIII\Generator\Report
 | |
|  */
 | |
| interface ReportGeneratorInterface
 | |
| {
 | |
|     /**
 | |
|      * @return string
 | |
|      */
 | |
|     public function generate(): string;
 | |
| 
 | |
|     /**
 | |
|      * @param Collection $accounts
 | |
|      *
 | |
|      * @return ReportGeneratorInterface
 | |
|      */
 | |
|     public function setAccounts(Collection $accounts): ReportGeneratorInterface;
 | |
| 
 | |
|     /**
 | |
|      * @param Collection $budgets
 | |
|      *
 | |
|      * @return ReportGeneratorInterface
 | |
|      */
 | |
|     public function setBudgets(Collection $budgets): ReportGeneratorInterface;
 | |
| 
 | |
|     /**
 | |
|      * @param Collection $categories
 | |
|      *
 | |
|      * @return ReportGeneratorInterface
 | |
|      */
 | |
|     public function setCategories(Collection $categories): ReportGeneratorInterface;
 | |
| 
 | |
|     /**
 | |
|      * @param Carbon $date
 | |
|      *
 | |
|      * @return ReportGeneratorInterface
 | |
|      */
 | |
|     public function setEndDate(Carbon $date): ReportGeneratorInterface;
 | |
| 
 | |
|     /**
 | |
|      * @param Carbon $date
 | |
|      *
 | |
|      * @return ReportGeneratorInterface
 | |
|      */
 | |
|     public function setStartDate(Carbon $date): ReportGeneratorInterface;
 | |
| 
 | |
| }
 |