Closed morrislaptop closed 3 years ago
This function allows to repeat or renew a period into the next term. Usage:
$period = Period::make('2018-01-01', '2018-01-15'); $rewewal = $period->renew();
$renewal will now be from '2018-01-16' to '2018-01-31' (15 days)
Nice! Would you mind also adding an entry to the README?
@brendt readme updated
Thanks!
Tagged: https://github.com/spatie/period/releases/tag/1.6.0
This function allows to repeat or renew a period into the next term. Usage:
$renewal will now be from '2018-01-16' to '2018-01-31' (15 days)