( Somewhat similar to #322 )
- I'm reading an
.ics file using VObject\Reader::read()
- I want to clone the calendar object and its metadata
- I want to keep only specific events based on certain criteria
Would the fastest and most correct way be to iterate through the ->VEVENT objects/items and remove those I don't want, as outlined in #322, and then write everything back out again (to disk). Or is there a better way? 🤔
I don't really want to re-create the "entire calendar" and risk missing to copy something from the original.
( Somewhat similar to #322 )
.icsfile usingVObject\Reader::read()Would the fastest and most correct way be to iterate through the
->VEVENTobjects/items and remove those I don't want, as outlined in #322, and then write everything back out again (to disk). Or is there a better way? 🤔I don't really want to re-create the "entire calendar" and risk missing to copy something from the original.