Various code for currency exchange rate support

This commit is contained in:
James Cole
2022-06-06 14:40:19 +02:00
parent 9c08b9f1d3
commit d007db166a
24 changed files with 987 additions and 188 deletions

View File

@@ -34,6 +34,7 @@ use Illuminate\Support\Collection;
*/
interface BudgetRepositoryInterface
{
/**
* @param string $query
* @param int $limit
@@ -50,6 +51,15 @@ interface BudgetRepositoryInterface
*/
public function budgetStartsWith(string $query, int $limit): Collection;
/**
* Returns the amount that is budgeted in a period.
*
* @param Carbon $start
* @param Carbon $end
* @return array
*/
public function budgetedInPeriod(Carbon $start, Carbon $end): array;
/**
* @return bool
*/