make sure recurrence can skip weekends.

This commit is contained in:
James Cole
2018-06-26 21:17:50 +02:00
parent 49de4f2200
commit 7ba11a57a8
7 changed files with 73 additions and 14 deletions

View File

@@ -78,6 +78,17 @@ interface RecurringRepositoryInterface
*/
public function getCategory(RecurrenceTransaction $recurrenceTransaction): ?string;
/**
* Returns the journals created for this recurrence, possibly limited by time.
*
* @param Recurrence $recurrence
* @param Carbon|null $start
* @param Carbon|null $end
*
* @return Collection
*/
public function getJournals(Recurrence $recurrence, Carbon $start = null, Carbon $end = null): Collection;
/**
* Get the notes.
*