Fix and simplify bill repos

This commit is contained in:
James Cole
2016-10-21 13:20:51 +02:00
parent af1ee9db93
commit a95a4e783a
2 changed files with 95 additions and 97 deletions

View File

@@ -131,6 +131,17 @@ interface BillRepositoryInterface
*/
public function getOverallAverage($bill): string;
/**
* Between start and end, tells you on which date(s) the bill is expected to hit.
*
* @param Bill $bill
* @param Carbon $start
* @param Carbon $end
*
* @return Collection
*/
public function getPayDatesInRange(Bill $bill, Carbon $start, Carbon $end): Collection;
/**
* @param Bill $bill
*