. */ declare(strict_types=1); namespace FireflyIII\Repositories\Administration\Budget; use Carbon\Carbon; use Illuminate\Support\Collection; /** * Interface OperationsRepositoryInterface */ interface OperationsRepositoryInterface { /** * This method returns a list of all the withdrawal transaction journals (as arrays) set in that period * which have the specified budget set to them. It's grouped per currency, with as few details in the array * as possible. Amounts are always negative. * * @param Carbon $start * @param Carbon $end * @param Collection|null $accounts * @param Collection|null $budgets * * @return array */ public function listExpenses(Carbon $start, Carbon $end, ?Collection $accounts = null, ?Collection $budgets = null): array; }