mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
- Cleanup homepage. - Expanded libraries - Added limits (for budgets) - Extended models - Added popups for charts. - [skip-ci]
20 lines
521 B
PHP
20 lines
521 B
PHP
<?php
|
|
|
|
namespace Firefly\Storage\TransactionJournal;
|
|
|
|
|
|
interface TransactionJournalRepositoryInterface
|
|
{
|
|
public function createSimpleJournal(\Account $from, \Account $to, $description, $amount, \Carbon\Carbon $date);
|
|
|
|
public function get();
|
|
|
|
public function find($journalId);
|
|
|
|
public function getByAccount(\Account $account, $count = 25);
|
|
|
|
public function getByAccountAndDate(\Account $account, \Carbon\Carbon $date);
|
|
|
|
public function getByDateRange(\Carbon\Carbon $start, \Carbon\Carbon $end);
|
|
|
|
} |