2014-10-29 04:30:52 -05:00
|
|
|
<?php
|
|
|
|
|
2014-12-13 15:11:51 -06:00
|
|
|
namespace FireflyIII\Database\Budget;
|
2014-10-29 04:30:52 -05:00
|
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface BudgetInterface
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Database
|
|
|
|
*/
|
|
|
|
interface BudgetInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @param \Budget $budget
|
2014-11-12 15:37:09 -06:00
|
|
|
* @param Carbon $date
|
2014-10-29 04:30:52 -05:00
|
|
|
*
|
|
|
|
* @return \LimitRepetition|null
|
|
|
|
*/
|
|
|
|
public function repetitionOnStartingOnDate(\Budget $budget, Carbon $date);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param Carbon $start
|
|
|
|
* @param Carbon $end
|
|
|
|
*
|
|
|
|
* @return Collection
|
|
|
|
*/
|
|
|
|
public function transactionsWithoutBudgetInDateRange(Carbon $start, Carbon $end);
|
|
|
|
|
|
|
|
}
|