Skip to content

Work with multiple events #5

@buddy94

Description

@buddy94

Hi,
I was looking to use your excellent package but I don't understand how you can implement a search with multiple events.

I explain: you have provided this method:
$event->getEventsBetween('2021-01-05', '2021-01-15');
With this I can retrieve all the recurrences between two dates of that particular event.
But what if I have multiple events with multiple recurrences each and I want to retrieve all the events (or recurrences of those events) beetwen two dates?

Something like this:
$collectionOfEvents->getEventsBetween('2021-01-05', '2021-01-15');

I also would like to ask you if you could provide an example with laravel and an interaction with a db.

Thank you in advance :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions