mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
20 lines
575 B
PHP
20 lines
575 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 getByAccountInDateRange(\Account $account, $count = 25,\Carbon\Carbon $start, \Carbon\Carbon $end);
|
|
|
|
public function getByAccountAndDate(\Account $account, \Carbon\Carbon $date);
|
|
|
|
public function getByDateRange(\Carbon\Carbon $start, \Carbon\Carbon $end);
|
|
|
|
} |