mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Add new tests for transformers.
This commit is contained in:
@@ -35,6 +35,7 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
interface PiggyBankRepositoryInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @param PiggyBank $piggyBank
|
||||
* @param string $amount
|
||||
@@ -152,6 +153,15 @@ interface PiggyBankRepositoryInterface
|
||||
*/
|
||||
public function getMaxOrder(): int;
|
||||
|
||||
/**
|
||||
* Return note for piggy bank.
|
||||
*
|
||||
* @param PiggyBank $piggyBank
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNoteText(PiggyBank $piggyBank): string;
|
||||
|
||||
/**
|
||||
* Return all piggy banks.
|
||||
*
|
||||
@@ -182,6 +192,13 @@ interface PiggyBankRepositoryInterface
|
||||
*/
|
||||
public function getSuggestedMonthlyAmount(PiggyBank $piggyBank): string;
|
||||
|
||||
/**
|
||||
* @param PiggyBankEvent $event
|
||||
*
|
||||
* @return int|null
|
||||
*/
|
||||
public function getTransactionWithEvent(PiggyBankEvent $event): ?int;
|
||||
|
||||
/**
|
||||
* Get for piggy account what is left to put in piggies.
|
||||
*
|
||||
|
Reference in New Issue
Block a user