mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 10:22:09 +00:00
31 lines
583 B
PHP
31 lines
583 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace FireflyIII\Database;
|
||
|
|
||
|
use Carbon\Carbon;
|
||
|
use Illuminate\Support\Collection;
|
||
|
|
||
|
/**
|
||
|
* Interface BudgetInterface
|
||
|
*
|
||
|
* @package FireflyIII\Database
|
||
|
*/
|
||
|
interface BudgetInterface
|
||
|
{
|
||
|
/**
|
||
|
* @param \Budget $budget
|
||
|
* @param Carbon $date
|
||
|
*
|
||
|
* @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);
|
||
|
|
||
|
}
|