Repository navigation
2.0.0
- Added support for immutable dates
- Allowed to add meta-data to global/exceptions config, days config, ranges settings via
setData()andgetData() - Allowed dynamic opening hours settings
- Added
TimeRange::fromArray()andTimeRange::fromDefinition()(to support array of hours+data or string[] or string) - Added
setFilters()andgetFilters()
⚠ Breaking changes:
nextOpen()andnextClose()return type changed forDateTimeInterfaceas it can now returnDateTimeImmutabletootoDateTime()changed both input type and return type forDateTimeInterfaceas it can now take and returnDateTimeImmutabletoo