mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Improve tests, models and views.
This commit is contained in:
@@ -33,6 +33,25 @@ use FireflyIII\User;
|
||||
*/
|
||||
interface TransactionGroupRepositoryInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Return all attachments for all journals in the group.
|
||||
*
|
||||
* @param TransactionGroup $group
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getAttachments(TransactionGroup $group): array;
|
||||
|
||||
/**
|
||||
* Return all journal links for all journals in the group.
|
||||
*
|
||||
* @param TransactionGroup $group
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getLinks(TransactionGroup $group): array;
|
||||
|
||||
/**
|
||||
* Return object with all found meta field things as Carbon objects.
|
||||
*
|
||||
@@ -62,6 +81,15 @@ interface TransactionGroupRepositoryInterface
|
||||
*/
|
||||
public function getNoteText(int $journalId): ?string;
|
||||
|
||||
/**
|
||||
* Return all piggy bank events for all journals in the group.
|
||||
*
|
||||
* @param TransactionGroup $group
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getPiggyEvents(TransactionGroup $group): array;
|
||||
|
||||
/**
|
||||
* Get the tags for a journal (by ID).
|
||||
*
|
||||
|
Reference in New Issue
Block a user