mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
44 lines
786 B
PHP
44 lines
786 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 \Budget $budget
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function organizeRepetitions(\Budget $budget);
|
|
|
|
/**
|
|
* @param \Budget $budget
|
|
* @param $repetitionId
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function organizeRepetition(\Budget $budget, $repetitionId);
|
|
|
|
/**
|
|
* @param \Budget $budget
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function outsideRepetitions(\Budget $budget);
|
|
|
|
}
|