mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 19:31:01 -06:00
31 lines
590 B
PHP
31 lines
590 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Database\Ifaces;
|
|
|
|
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);
|
|
|
|
}
|