If I create a CarbonPeriod like this:
$weeks = CarbonPeriod::since(Carbon::now()->startOfWeek()->subWeeks(11))
->until(Carbon::now()->startOfWeek())
->days(7);
It will give me a period containing 12 Carbon instances 1 week apart, each of which represents a single date. Is it possible to get these steps in the period as CarbonInterval instances instead, so that each has both a start and end date?
This is mainly for convenience (being able to get the end date without trying to look at the next instance in the period, or recalculating it), but I can see it being useful if you wanted to do something like generate a period containing overlapping 2 week intervals, each 1 week apart.