Clean up event related code.

This commit is contained in:
James Cole
2017-04-28 07:51:09 +02:00
parent bbe40518e4
commit 359007c5bf
8 changed files with 217 additions and 110 deletions

View File

@@ -27,6 +27,7 @@ use Illuminate\Support\MessageBag;
*/
interface JournalRepositoryInterface
{
/**
* @param TransactionJournal $journal
* @param TransactionType $type
@@ -67,6 +68,13 @@ interface JournalRepositoryInterface
*/
public function getTransactionTypes(): Collection;
/**
* @param TransactionJournal $journal
*
* @return bool
*/
public function isTransfer(TransactionJournal $journal): bool;
/**
* @param TransactionJournal $journal
* @param int $order